xlsx_sort
Sort rows in a local .xlsx file by one or more columns with per-column ascending/descending order. Returns sorted rows as a markdown table.
Instructions
pandas-style df.sort_values() on a LOCAL .xlsx file with multi-column sort and per-column direction (asc/desc, default asc). Stable across all sort keys; type-aware comparison; nulls always sort last.
USE WHEN: the user wants rows ordered by one or more columns. Returns the sorted rows as a markdown table.
DO NOT USE WHEN: the data is already sorted as desired (use xlsx_read). Or for upload/attached files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | ||
| file_b64 | Yes | ||
| options | No |