groupArraySorted
groupArraySorted
Introduced in: v24.2
Returns an array with the first N items in ascending order.
Syntax
Parameters
N— The number of elements to return.UInt64
Arguments
column— Column for which to group into an array.Any
Returned value
Returns an array with the first N items in ascending order. Array
Examples
Getting first 10 numbers
String sorting example