Nine ways to order a list
Alphabetical sorting is the default, but lists are rarely only words. This tool sorts A to Z or Z to A, naturally, numerically, by length in either direction, reverses the order, or shuffles it. Every option works line by line and shows how many lines went in and came out, so you can see at a glance whether blank lines or duplicates were dropped.
Natural sorting
A plain alphabetical sort compares text one character at a time, so "item 10" lands before "item 2" because 1 comes before 2. Natural sorting reads digit groups as whole numbers, which is what people expect from file names, version labels and numbered lists.
Before
item 10 item 2 item 1
After
item 1 item 2 item 10
Numeric sorting
Numeric sorting finds the first number in each line and orders by that value, so prices, scores and quantities line up correctly even when they sit inside other text. Commas in numbers such as 1,500 are understood, and negative numbers and decimals work too. Lines without any number are placed at the end, in their original order.
Language-aware sorting
Alphabets differ. Accented letters should sit next to their plain version in French or Spanish, while in some languages a letter like ä sorts after z. With language-aware sorting on, your browser applies the rules of its own language. Turn it off for a fixed, simple ordering that does not depend on the language of the device.
Stable results and shuffling
When two lines are equal for the chosen order, they keep their original relative order, so repeated sorts never scramble ties. Shuffle uses your browser's secure random number generator, so every ordering is equally likely, and you can reshuffle as often as you like.
Tips
Sort first and tidy later: if the list has repeats, tick Remove duplicate lines, or use the dedicated duplicate line remover when you also want counts. Lines pasted from a PDF may need the line break cleaner before they sort sensibly.