TOOLTIKI Lovable tool, really free
Text Transform

Word sorter

What to do

Transformed in your browser · nothing is uploaded

Local · numeric sort is a separate option for a reason
Advertisement
320 × 100

Sorts words or lines alphabetically, and removes duplicates on request. Numeric sorting is separate, because sorting numbers as text puts 100 before 9.

How to use the word sorter

1 Paste your text into the first box.
2 Choose what you want done to it.
3 Copy the result, or save it as a text file.

The alphabetical sort uses locale-aware comparison, which handles accented letters the way a dictionary does rather than by codepoint — so "é" sorts next to "e" instead of after "z". It also treats embedded numbers naturally, so "item2" comes before "item10", which a plain string sort gets backwards. For a column of pure numbers, the numeric option is the right one: text sorting compares character by character, which is why "100" sorts before "9" and why so many spreadsheets look wrong after a sort.

Questions

Because text sorting compares character by character and "1" comes before "9". Use the numeric option for numbers.

MDN — Intl.Collator
Advertisement
300 × 250
Was this tool any good?
INTERNAL SIGNAL ONLY · WE USE IT TO FIND TOOLS WORTH REBUILDING