Alphabetizing names, titles and keywords
- People. The tool sorts on the line as written. To alphabetize by surname, write each name as 'Last, First' first. A bibliography is the usual case: the reference styles APA, MLA and Chicago all list sources alphabetically by the first author's surname, and each entry starts with it, so one entry per line sorts correctly.
- Titles. Libraries and many indexes ignore a leading The, A or An. Switch on Ignore a leading The, A or An, and The Great Gatsby sorts under G while the line itself is unchanged. The rule is for English only.
- Keywords, tags, glossary terms and ingredients. Plain A to Z is all they need. Add Remove duplicate lines if the same word appears twice.
- Words with accents, or from another alphabet. Choose the language in the options, because languages disagree about where letters such as ä, ñ and å belong.
Bulleted and numbered lists
Many lists start every line with a dash, a bullet or a number. Here those are ignored when deciding the order, and the lines keep them. A list of '- pear', '- Apple' and '- banana' becomes '- Apple', '- banana' and '- pear'.
Numbers need care. '3. pear', '1. zebra' and '2. apple' become '2. apple', '3. pear' and '1. zebra': sorted by the words, with each number staying on its own line, so the numbering is now out of order. Renumber the list in your editor after sorting, or remove the numbers before you paste. Letter markers such as a) and b) are not recognized and are sorted as part of the text.
Numbers, punctuation and other surprises
Alphabetical order compares character by character, so '10 apples' comes before '9 oranges', since 1 comes before 9. If items start with numbers that should sort by value, use the Natural or By number orders in sort lines.
Punctuation and symbols sort before digits and letters, so a line that starts with a dash or a quote mark will not sit among the plain words. Make the marks consistent across the list, or leave Ignore bullets on. Leading spaces are trimmed by default so they cannot pull a line to the top.