Alphabetical order sorter
hopi_alphabetical_orderSort the lines of a block of text into alphabetical order. Blank lines are dropped. Uses natural en-GB ordering so numbers within lines sort sensibly. Can sort ascending (A to Z) or descending (Z to A), and can ignore case. Source: https://hopi.co.uk/alphabetical-order/
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": {
"text": "<text>"
},
"name": "hopi_alphabetical_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to sort, one item per line | |
| direction | No | 'asc' for A to Z (default), 'desc' for Z to A | asc |
| caseInsensitive | No | Ignore letter case when sorting (default false) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | ||
| result | Yes | ||
| summary | Yes | ||
| direction | Yes | ||
| source_url | Yes | The tool's page on hopi.co.uk (cite or open to check the figure) | |
| caseInsensitive | Yes |