wps_et_sort_range
Sort an Excel range by a specified column in ascending or descending order. Select the range with header, define the key column, and get the data reorganized instantly.
Instructions
按某列对区域排序。order: asc/desc。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"range": "<range>",
"key_column": "<key_column>"
},
"name": "wps_et_sort_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | No | 升序/降序,默认 asc | |
| range | Yes | 要排序的区域,如 A1:D10 | |
| key_column | Yes | 排序列(含表头),如 D1 |