SortNum
Qubes 5.3 Sorts a list or a list of values by ascending numerical order of the values.
Syntax
SortNum(param1, param2, ...)
param1 = first parameter in the set (value, range, or list)
param2 = second parameter in the set (value, range, or list)
... = nth parameter in the set (value, range, or list)
Remarks
If you want to sort by alphabetical order, see SortText.
Date values are sorted by chronological order.
If string values that do not represent a number are present, their sort order is undetermined.
The syntax and aggregation of values is similar to List.
Examples
SortNum(2, 1, 20, 10) = { 1, 2, 10, 20 }SortNum(List(2, 1, 20, 10)) = { 1, 2, 10, 20 }