------------------------------------------------------------------------------------------
rank(l4,l4[!0],0)
保证数据格式要一样,而且不能有为空的内容
不然你可以用sort函数测试看
SORT- FineReport帮助文档 - 全面的报表使用教程和学习资料 (fanruan.com)
层次坐标
参考分组排名--https://help.fanruan.com/finereport/doc-view-1914.html