Primitive
array.sort
BETAShort name: sort
Version: 1.0.0
Sort an array of objects or primitive values by one or more key paths.
Back to primitive libraryInputs
| Key | Type | Required | Description |
|---|---|---|---|
| array | array | true | Array to sort. |
| keys | array | true | Key paths used in priority order for comparisons. |
Outputs
| Key | Type | Required | Description |
|---|---|---|---|
| result | array | false | Sorted array copy. |