Sort columns in queries
You can define a custom sort order using the columns available in Work Queue, JobList and System queries. You can specify sort order by selecting up to three fields and specify the direction as ascending or descending. You can only sort on displayed columns. You can also sort on work type fields. At runtime, the sorted results are displayed in the Work Queue, JobList and Workload controls in the order specified in the query. The sorting is only applied if the custom sorting is enabled at design time; otherwise, the default sort order is applied.
See the following: