Sorting lists quickly
This short guide explains what the sort lines does, how to get the best result and when another tool is a better fit.
Why natural sorting helps
Ordinary computer sorting compares text one character at a time, so ‘file 10’ comes before ‘file 2’ because 1 is smaller than 2. That looks wrong to people. This tool uses natural sorting for the A → Z and Z → A modes, which reads numbers inside text as whole values. ‘Chapter 2’ comes before ‘Chapter 10’, just as you would sort them by hand.
It also ignores the difference between capital and small letters, so ‘apple’ and ‘Apple’ sit together instead of all capitals coming first.
Sorting numbers
Choose Numeric ascending for a list of plain numbers, such as test scores or prices without currency symbols. Each line is read as a number and sorted smallest to largest. Lines that aren’t numbers can’t be placed reliably, so remove headings and units like ‘kg’ or ‘£’ first.
Want largest first? Sort numerically, then use Text Reverser in Line order mode to flip the list.
A worked example
A teacher has a class list typed in the order students arrived: 28 names, some with lowercase first letters. Pasting it and choosing A → Z gives a tidy alphabetical register in seconds, with ‘amir’ and ‘Amira’ next to each other rather than split by capitalisation. Running Case Converter in Title Case afterwards fixes the lowercase names.
For a list of sorted scores, Numeric ascending puts 9 before 10 and 100, not after them.
Sorting tips for spreadsheets and documents
To sort a single column from a spreadsheet, copy it, sort it here and paste it back, but only if the other columns don’t need to move with it. For tables, use the spreadsheet’s own sort so rows stay together. In Word or Google Docs, a sorted list pasted back keeps one item per line, ready to turn into bullets.
Sorting is also a good check on data quality. After sorting a list of names or product codes, typos and near-duplicates often sit right next to each other, such as ‘Jonathon’ and ‘Jonathan’, so they are easy to spot and fix.
Combining with other tools
Sorting works well with other list tools. Remove duplicates before sorting to get a clean, unique list, or sort first to make duplicates easy to spot by eye. Sorting keeps every line, including blank ones, which usually move to the top in A → Z mode.
- Natural A–Z for names and titles
- Numeric for plain number lists
- Remove duplicates first for a clean result
Further reading: How natural sort order works. It explains the format behind this sort lines in more detail.
