Skip to main content
Docs
›
Sort

Sort

Updated Nov 8, 2026

Returns a sorted copy of the array. Items that are both numbers compare as numbers, otherwise as text. Ascending by default; turn Ascending off for descending.

Inputs

NameTypeRequiredDescription
ArrayArray
AscendingBoolean—

Outputs

NameTypeDescription
ResultArray
Sort
Array
Ascending
Result