sort_data
Reorder spreadsheet rows in place by one or more keys, keeping case names with their rows. Set ascending or descending order per key.
Instructions
Sort a spreadsheet in place by one or more keys (case names move with their rows). order may be a single value or one per key: 0/asc or 1/desc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the source file. | |
| save | No | Optional destination path to persist the result as .sta. | |
| order | No | Ascending (0/"asc") or descending (1/"desc"). A single value or one per key. | |
| sheet | No | ||
| attach | No | Attach to the already-running STATISTICA instance and edit it live (no new process, the app is not closed). | |
| variables | Yes | Sort key(s), most significant first. |