Are you talking about changing the sorting order of the data table? That can be changed by clicking the triangle in the Order By section of the Query Builder.
Are you talking about a Filter box? That list should be in alphabetical order of the items in that column, but you could always switch the Filter Type to be a manual list and specify the order that you would like.
Or is there something else that you are trying to do?
I'm not a JSL expert or Query Builder expert, so others are probably able to help more than me. However, when you build your query interactively, you can set the sort order as I indicated in my previous post. Doing that generates the JSL that uses Order By. For my specific example, this JSL option is added:
Order By( Column( "LotID", "t2", Order( "Descending" ) ) )
The LotID came from table 2 of the Query. Maybe this will help you.