Skip to content
MewixMewix

Sort lines

Paste lines and sort them A→Z or Z→A. Matching ignores letter case by default so Apple and apple group sensibly.

Updated by the Mewix team

Sorting a plain list from A to Z

Each line becomes one row. The sorter uses localeCompare on strings, with lowercase copies used for ordering so “banana” and “Banana” land near each other. Pick ascending or descending from the dropdown, then copy the output.

Numbers and natural order

Values like item10 and item2 sort as text, not numerically — “item10” comes before “item2” because “1” compares before “2” at the third character. For true numeric sorting you would pad zeros or use a spreadsheet; this tool stays a fast alphabetical pass.

Questions

Should I dedupe before or after sorting?

Either works. Dedupe first if order history matters; sort first if you want duplicates adjacent before using remove duplicate lines.

Does sorting upload my list?

No. Lines are split and sorted entirely in your browser session.