sort_range
Sort a specified range of cells in a Google Sheet by one or more columns, with each column sorted ascending or descending.
Instructions
Sort a range by one or more columns
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_row | Yes | Ending row index (exclusive) | |
| sheet_id | Yes | The ID of the sheet | |
| start_row | Yes | Starting row index (0-based) | |
| end_column | Yes | Ending column index (exclusive) | |
| sort_specs | Yes | Array of sort specifications | |
| start_column | Yes | Starting column index (0-based) | |
| spreadsheet_id | Yes | The ID of the spreadsheet |