Reorders a list's items from smallest to largest, either by each item's own value or by a parallel list of sortable values in the Sort Order input. The sort is stable, so items with the same sort order retain their relative positions.
Interface
Inputs
| Parameter | Details | Possible Types |
|---|---|---|
| List | The list of data to reorder. Primary Input | Artboard[]Color[]Gradient[]Graphic[]Raster[]String[]Transform[]Vec2[]Vector[]bool[]f32[]f64[]u32[]u64[] |
| Sort Order | The optional list of orderable values, corresponding item-to-item with the input list, to sort by instead of the items' own values. Exposed to the Graph by Default | String[]bool[]f64[] |
| Reverse | Reverses the sorted list order, following descending order instead of ascending (numbers largest-to-smallest, strings Z-to-A, etc.). Default: | bool |
Outputs
| Product | Details | Possible Types |
|---|---|---|
| Result | The value produced by the node operation. Primary Output | String[]bool[]f32[]f64[]u32[]u64[]Vec2[]Transform[]Vector[]Graphic[]Raster[]Color[]Gradient[]Artboard[] |