+
K
Supported in: Batch, Streaming
Returns a sorted array of the given input array. All null values are placed at the end of a descending array and at the front of an ascending array.
Expression categories: Array
Type variable bounds: T accepts ComparableType
Output type: Array<T>
Argument values:
ASCENDING
Output: [ 3, 5, 6 ]
DESCENDING
Output: [ 6, 5, 3 ]
Output: [ null, 1, 2, 3 ]
Output: [ 3, 2, 1, null ]
array