Railo 4.2 Reference
Choose a function:


Sorts the query based on the column specified and the order criteria given. Modifies the original query object


querysort(query query,string column_name,[string direction]):boolean


The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
query query  Yes the query to sort  
column_name string  Yes a list of names or a single column name  
direction string  No a list of directions or a single direction defintion (asc,desc), the list must have the same length as the columnName list