リストをソート
リストの行をアルファベット順または数値順で並び替えます。大文字小文字を区別するオプション、先頭の数字検出、逆順が利用できます。ブラウザで完全に実行されます。
入力
有効にすると、並び替えが大文字小文字を区別します(例:'a' は 'A' より前に来ます)。
有効にすると、先頭の数字が検出され、アルファベット順ではなく数値順で並び替えられます。
出力
ソート済みリスト
役に立ちましたか?
ガイド
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.
sortlistalphabetizeordertext
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.