Sort
Sort rows by a column.
Command in the Data Table toolkit · id ooa.datatable/sort · 6 inputs (1 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Table | Table | Yes | Source table. | |
| Column | String | No | Column name. | |
| Descending | Boolean | No | false | Largest first. |
| Column index | Number | No | Zero-based column index; used when 'column' is empty. | |
| Ignore case | Boolean | No | true | Sort text without regard to upper/lower case. |
| Then by | List | No | Further column names that order rows with equal values, in the same direction. |
Outputs
| Output | Type | What it is |
|---|---|---|
| table | Table | Sorted table. |