SortArray()
Syntax
SortArray(ArrayName(), Options [, Start, End])Description
Sort the specified array, according to the given 'Options'. The array may be of one of basic type: byte, word, long, integer, string or float. An optional 'Start' and 'End' range index may be specified.
'Options' can take the following values:
#PB_Sort_Ascending : Sort the array in ascending order (low values first)
#PB_Sort_Descending: Sort the array in descending order (high values first)
#PB_Sort_NoCase : Sort the string array without case sensitive (a=A, b=B etc..)
Note: If an array is not fully filled then null elements will be sorted first in ascending order and last in descending order.
Supported OS
All