sort

Sorts the elements of the array in alphabetical order. Duplicates are retained.

Syntax

sort ( array_expression )

Example

# csv ( sort ( array ( 's3', 'a', 'x' ) ) ) #

Result

'a', 's3', 'x'