Sort List
Command description
Sorts a list in place in ascending or descending order. No new list variable is created.
Command Input Parameters
| input parameters | Input parameter type | Description |
|---|---|---|
| List | list | List object to be sorted |
| Sort Order | enum | Ascending, Descending |
Command Output Parameters
None.
Note
All items must be mutually comparable or sorting will fail. A list containing only numbers or only strings can normally be sorted; a list that mixes numbers and strings cannot.
AI Workflow Generation Notes
- The command sorts the list in place and has no output variable. All items must be mutually comparable.