Alphabetical order | Organize Your List Quickly
Sort any list alphabetically with our online tool. Organize names, numbers, or phrases for clear access. Perfect for students and educators.
How to Use
1. Enter or paste your text in the input area
2. Choose your sorting options
3. Select input and output formats
4. Click "Sort Text" to process
Key Features
Multiple sorting options (A-Z, Z-A)
Case sensitive/insensitive sorting
Flexible input formats
Duplicate removal
Common Use Cases
Organizing contact lists and directories
Sorting product catalogs
Arranging bibliographies and references
Managing inventory lists
Use this tool from your AI agent
Free JSON API and Model Context Protocol (MCP) server. No signup, no API key, CORS open. Designed for Claude, ChatGPT, Cursor, scripts and frontend apps.
curl -X POST https://mate.tools/api/v1/sort-lines.php \
-H "Content-Type: application/json" \
-d '{"text":"banana\napple\ncherry","order":"asc"}' import urllib.request, json
req = urllib.request.Request(
"https://mate.tools/api/v1/sort-lines.php",
data=json.dumps({"text":"banana\napple\ncherry","order":"asc"}).encode(),
headers={"Content-Type": "application/json"},
)
with urllib.request.urlopen(req) as r:
print(json.load(r)) const r = await fetch("https://mate.tools/api/v1/sort-lines.php", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({"text":"banana\napple\ncherry","order":"asc"}),
});
console.log(await r.json()); Add to claude_desktop_config.json (Claude Desktop), ~/.cursor/mcp.json (Cursor), or any other MCP-compatible client:
{
"mcpServers": {
"mate-tools": {
"command": "npx",
"args": ["-y", "@mate-tools/mcp-server"]
}
}
} Frequently Asked Questions
Case-sensitive sorting considers uppercase and lowercase letters as different characters. For example, "Apple" would come before "banana" because uppercase letters are sorted before lowercase letters.
When "Remove duplicates" is checked, identical items will only appear once in the output. This is useful for creating clean, unique lists.
Yes, the tool uses natural sorting for numbers. This means "2" will come before "10" instead of being sorted as text where "10" would come first.
The "Strip HTML" option removes all HTML tags from the text while preserving the content inside them. For example, "
Hello
" becomes "Hello". Use the "Ignore punctuation" option to sort items without considering special characters. This helps create more natural sorting results.