Aller au contenu principal
Docs
›
Sort

Sort

Mis à jour 8 nov. 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.

Entrées

NomTypeRequisDescription
ArrayArray
AscendingBoolean—

Sorties

NomTypeDescription
ResultArray
Sort
Array
Ascending
Result