Syntax
SORT(<list>)
Description
Returns the selected list in numerical or alphabetical order.
Examples
Example | SORT returns |
---|---|
[red, blue, green, yellow] | [blue, green, red, yellow] |
[purple, green, orange, black] | [black, green, orange, purple] |
[34, 12, 38, 19] | [12, 19, 34, 38] |
[true, true, true, false] | [false, true, true, true] |