Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 676 Bytes

arraysortint.md

File metadata and controls

31 lines (23 loc) · 676 Bytes
description
This section contains reference documentation for the arraySortInt function.

arraySortInt

Sorts array of ints.

Signature

arraySortInt('colName')

Usage Examples

These examples are based on the Hybrid Quick Start.

select DivAirportIDs, 
       arraySortInt(DivAirportIDs) AS sortedIds
from airlineStats 
WHERE arraylength(DivAirportIDs) >= 2
limit 5
DivAirportIDs sortedIds
13891,12892 12892,13891
14683,14683 14683,14683
12339,12339 12339,12339
13198,10721 10721,13198
10721,12478 10721,12478