Alphabetical Order Sorter

Puts the lines of a list into alphabetical order, from A to Z or Z to A. Use it to tidy names, shopping lists, keywords or reference lists, and to get numbered items in a sensible order such as item 2 before item 10.

Up to 1 MiB.

Options

How to use the Alphabetical Order Sorter

  1. Paste a list with one item per line.
  2. Choose A to Z or Z to A. The sorted list appears as you type.
  3. Keep Sort numbers by value on so that item 2 comes before item 10.

Rules applied

  • Sorting follows dictionary order for English and handles accented letters correctly (é sorts with e).
  • Upper and lower case are treated as equal; turn on Uppercase before lowercase to order Apple before apple.
  • Lines that compare as equal keep their original order. Empty lines are removed unless you turn that option off.

Limitations

  • Other languages may have different alphabetical rules (for example Swedish å after z).

Worked examples

Names and numbered items

Input

banana
Apple
item 10
item 2
cherry
Éclair

Result

Apple
banana
cherry
Éclair
item 2
item 10
Reverse order

Input

red
green
blue

Result

red
green
blue

Practical uses

  • Alphabetising a reading list

    A student pastes a list of book titles in random order and sorts them from A to Z. Accented letters are placed with their plain forms, and duplicates sit next to each other. The tidy list is ready to copy into a bibliography.

  • Tidying a configuration file

    A developer pastes a block of environment variable names or imports and sorts them. Keeping Sort numbers by value on means a name ending in 2 comes before one ending in 10. Duplicates and gaps are then easier to spot during code review.

Privacy: this tool runs entirely in your browser. Your text is not uploaded, logged or saved, and it is never sent to analytics. Maximum input: 1 MiB.