Six rules, six possible orders
One list sorted by different rules yields entirely different orders. Alphabetical ascending compares character codes, puts capitals first and treats digits as characters, so item two lands before item ten. Natural order compares digit runs as numbers, putting two ahead of ten. Length sorting looks at character counts, and deduplication keeps one copy of identical lines. The tool offers all of these over multi-line text with copyable results. Decide which you need before pressing the button.
Steps
- Paste the list, one item per line, keeping a backup.
- Choose alphabetical ascending or descending, natural, or length ascending or descending.
- Tick deduplication if wanted, since it applies alongside sorting.
- Run it and inspect the first and last three entries.
- Copy back into the document and check again.
- Clear for the next list.
Codes, digits, Chinese
Alphabetical order compares codes, so without case folding every capital comes first and the list looks unsorted. Natural order exists for digits, and anything with version numbers, chapter numbers or file names needs it, or ten lands after two. Chinese sorts by code point rather than pinyin and looks random, needing another approach for phonetic order. Length counts characters in Chinese and letters in English, so equal lengths mean different things across scripts. Deduplication matches whole lines, and lines differing only in whitespace or case stay separate.
Common mistakes
Alphabetical order on numbered lists scatters them. Chinese by code point looks random. Blank lines drift to the top. Near-duplicate lines survive deduplication, which looks like a failure. Mixed case makes order jump. And sorting whole rows of multi-column data scrambles column correspondence.
Where sorting needs a person
Business priority needs a human definition, since tools sort by literal rule only. Column-specific ordering belongs in a spreadsheet rather than line sorting. Chinese pinyin or stroke order requires a dedicated library. Sorting renumbered lists separates numbers from order. And shipping a sorted list unchecked can bury what matters at the bottom.