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

Argumente

Die Argumente für diese Funktion sind fest vorgegeben. Ausser den nachfolgenden Argumenten dürfen keine weiteren verwendet werden.
Name Typ Required Beschreibung
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