<function> is provided, the sort order is determined by the result of applying <function> on each element of the array.
Syntax
ARRAY_SORT supports two signatures:
Parameters
Return Type
ARRAY of the same type as the input array
Examples
Rows: 1Execution time: 5.52ms
ARRAY_SORT puts the higher (odd) numbers last in the results.
Rows: 1Execution time: 5.54ms
Rows: 1Execution time: 5.28ms