Railo 4.2 Reference
Choose a function:

Object Method String.listSort

Sorts list elements according to a sort type and sort order.
String.listSort(string sort_type,[string sort_order,[string delimiters,[boolean includeEmptyFields]]]):string


The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
sort_type string  Yes there are different sort types:
- numeric (sort by number)
- text (sorts text alphabetically and case sensitive)
- textnocase (sorts text alphabetically and ignore case sensitivity)
sort_order string  No sort direction:
- asc(default): ascending sort order
- desc: descending sort order
delimiters string  No Characters that separate list elements. The default value is comma.
includeEmptyFields boolean  No if set to true, empty values are included as well