Sort List
Sort the lines of a list alphabetically or numerically, with optional case-sensitivity, leading-number detection, and reverse order. Runs entirely in your browser.
Input
When enabled, sorting is case-sensitive (e.g. 'a' comes before 'A').
When enabled, leading numbers are detected and sorted numerically instead of alphabetically.
Output
Guides
Sort the lines of a list into alphabetical or numerical order. Paste anything line-separated — names, dates, file paths, survey answers — and get it back sorted, with control over case-sensitivity, numeric detection, and direction.
How to use it
- Paste your list, one item per line, into the input box.
- Toggle the settings below as needed.
- Copy or download the sorted result.
Settings
- Reverse Order — sort Z→A (or largest→smallest with number detection) instead of the default A→Z.
- Case-sensitive — when off (default), sorting ignores case, so
appleandApplesort next to each other. When on, uppercase letters sort before lowercase. - Detect numbers — when a line starts with digits, compare that leading number numerically instead of as text, so
2sorts before10(a plain alphabetical sort would put10first, since"1"<"2").
Privacy
Everything runs entirely in your browser. Your list is never uploaded to a server.
Use it from code
From 3 credits per callREST API
curl -X POST https://api.iotools.cloud/v1/tool/sort-list \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"originalList": "banana\nApple\ncherry",
"reverseOrder": "",
"caseSensitive": "",
"detectNumbers": ""
}'Swap in your own key from your account. The tool's fields are the body — no wrapper.
Ask an AI agent
Use the IOTools `sort-list` tool (Sort List) on this input:
YOUR_INPUT_HEREPaste this at any agent connected to the IOTools MCP server, then add your input.