SortList()

Syntax

SortList(ListName(), Options [, Start, End])
Description
Sort the specified list, according to the given 'Options'. The list can be of one of basic type: byte, word, long, string or float. An optional 'Start' and 'End' range index can be specified.

'Options' can take the following values:

0: Sort the list in ascending order (low values first)
1: Sort the list in descending order (high values first)
2: Sort a string list without case sensitive (a=A, b=B etc..) in ascending order
3: Sort a string list without case sensitive (a=A, b=B etc..) in descending order

Supported OS

Windows, Linux, MacOS X

<- SortArray() - Sort Index - SortStructuredArray() ->