Sort Function

Performs alphanumeric sort on string array.

Arguments

Number Type Compulsory Default Description
1 string Yes String data
2 string No Options

Argument 1

String array to be sorted.

Argument 2

May be set to 'unique' in which case any duplicates in argument 1 will be eliminated.

Returns

Return type: string array

Result is string array containing the contents of argument 1 sorted in alphanumeric order.