Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Optionally, control whether the list is sorted in ascending or descending order.

Syntax

orderList([list[,order]], 'ORDER')

ArgumentTypeDescription
listArrayThe comma-separated list of values to be sorted.
order
'ORDER'String

If this is 'ASC', sort in ascending order.

If this is 'DESC', sort in descending order.

If this parameter is omitted, sort in ascending order.

Examples

orderList([1,4,3,2])

...