Skip to main content

groupArraySorted

Introduced in: v24.2.0 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
Query
Response
String sorting example
Query
Response
Last modified on June 23, 2026