Alphabetical Order Sorter (Sort Lines & Lists)
Put lines, comma lists, words, sentences or paragraphs in alphabetical order (A→Z, Z→A, by length or natural number order) with the right rules for your language.
Sort a shopping list, a reading list, names, keywords or whole paragraphs into alphabetical order in one step. The sorter uses your browser’s language-aware collation, so accented letters sort where readers expect them, Korean sorts 가나다, Swedish puts Ö after Z, and numbers inside items can sort by value (file 2 before file 10). You can also sort by length, reverse a list, drop duplicates or ignore a leading “The”.
How to use this tool
- Paste your list, one item per line, or any text.
- Choose what to sort: lines, comma-separated items, words, sentences, paragraphs or the letters inside each word.
- Pick the order and the alphabet rules for the language.
- Set the options for numbers, articles, duplicates and blanks, then copy the result.
Formula
Items are compared with Intl.Collator(language, { numeric }) — the Unicode Collation Algorithm with the language’s own alphabet
Capitals and small letters sort together (Apple next to apple, in their original order). “Character code order” instead compares raw Unicode values, the way many programs do, so all capitals come before all small letters. Natural number order reads digit runs as numbers. Ignoring articles only affects the comparison; the items keep their wording. Sorting words drops the punctuation between them; sorting sentences joins them with a single space.
Example
The sample list sorts A → Z to Apple, apple, banana, cherry, Éclair, file 2, file 10, The Grapes (one per line): Apple and apple are equal apart from case, so they keep their original order; Éclair sorts with the E words; file 2 comes before file 10 because numbers sort by value. Choosing “Remove duplicates, ignoring case” drops the second apple, and Z → A reverses the list.
Frequently asked questions
How do I sort a list alphabetically?
Paste it with one item per line, keep “Lines” and “A → Z”, and copy the result. For a comma-separated list, choose “Comma-separated items”.
Why does file10 come before file2 in some programs?
They compare character by character, and the character 1 comes before 2. Tick “Sort numbers by value” to put file2 first.
Does it sort Korean, Japanese and Chinese?
Yes. Korean uses 가나다 order, Japanese the gojūon order of kana, and Chinese the pinyin order your browser provides for Han characters.
Can I remove duplicates while sorting?
Yes. Choose exact duplicates, or ignore case so Apple and apple count as one. The first one found is kept. For more control, use the remove duplicate lines tool.
Last updated:
Page address with these inputs: https://kakao.mobile/tools/alphabetical-order-tool/
Cite or embed this tool
kakaoCalc. (2026, November 8). Alphabetical Order Sorter (Sort Lines & Lists). https://kakao.mobile/tools/alphabetical-order-tool/
“Alphabetical Order Sorter (Sort Lines & Lists).” kakaoCalc, 8 Nov. 2026, kakao.mobile/tools/alphabetical-order-tool/.
Paste this code into your page. The widget runs in your visitors' browsers, shows no ads and keeps a link back to this page. Embedding terms