可以看下这个,利用内置数据集实现自定义排序https://help.fanruan.com/finereport/doc-view-3622.html
或者你在SQL用decode或者 case when排好序
数据集里面 按 这个字段排序先