Performs a sort on the list.
ListSort([List],[SortAscending])
Where:
List is the list to process.
Sort Ascending is whether to sort the results in ascending order or not.
Rule | Result |
---|---|
ListSort("A|B|C|D|E",FALSE) | This will return "E|D|C|B|A" |
ListSort("A|B|C|D|E",TRUE) | This will return "A|B|C|D|E" |
ListSort("1|2|3|4|5",FALSE) | This will return "5|4|3|2|1" |
ListSort("1|2|3|4|5",TRUE) | This will return "1|2|3|4|5" |
ListSort("A|30|C|15|B|22",FALSE) | This will return "C|B|A|30|22|15" |
ListSort("A|30|C|15|B|22",TRUE) | This will return "15|22|30|A|B|C" |