SELECT * FROM STSCORE where course like 'English' order by 列名 '${排序控件名}'
https://help.fanruan.com/finereport/doc-view-897.html
参考这个
SELECT * FROM STSCORE where course like 'English' ${if(len(参数名)==0,""," order by 列名 "+"'"+参数名+"'")}
SELECT * FROM STSCORE where course like 'English' order by GRADE '${排序}'