Sort numbers, text, datetimes, durations, or record fields with an explicit direction.
When to use
Sort numbers, text, datetimes, durations, or record fields with an explicit direction.
Inputs
list— List:list; required; supported workflow value forlist.field— Optional Field:text; optional; supported workflow value forfield.
Outputs
- List (
list): deterministicresultoutput.
Behavior and boundaries
Sorting is stable and deterministic. Values must share one comparable type. Optional Field selects a safe top-level field from record items; leaving it disconnected sorts the items themselves.
These operations do not change the original input. Unsupported, circular, invalid, or excessively large values stop the workflow with a clear message.
Example
List [3, 1, 2] in Ascending mode produces [1, 2, 3].
Exact settings reference
These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.
| ID | Setting | Control | Default | Bounds/options |
|---|---|---|---|---|
direction | Direction | toggle | ascending | options: Ascending (ascending), Descending (descending) |
Failure cases
Execution stops with an actionable Nodestly error when a required connector is missing, a value has the wrong type or shape, a configured index/mode is unsupported, or the result would exceed collection limits.
Errors and recovery
When this block reports an error, no downstream output is emitted. Correct the highlighted input or setting described by the message, then run the workflow again.
