Natural Sort
Text Tools· 20 toolsFree natural sort. Sorts lines so embedded numbers compare as numbers — `file2.txt` comes before `file10.txt` instead of after, and version strings like `1.2.10` sort after `1.2.9`. Toggle case sensitivity and direction. Powered by Intl.Collator with the `numeric` option, the same algorithm used by macOS Finder and modern file managers.
Powered by · Intl.Collator with `numeric: true`
Same algorithm macOS Finder uses — `file2` comes before `file10`.
Frequently Asked Questions
Frequently Asked Questions
References
References and sources
Related Tools
Related Tools
- Sort Lines (Alphabetical, Numeric, Length)Sort text lines alphabetically (A-Z or Z-A), by number, or by length. Case-sensitive and natural-sort options. Optional duplicate removal and reverse.
- Remove Duplicate LinesRemove duplicate lines from text instantly. Keep unique lines only.
- Column ExtractorPull specific columns out of CSV, TSV, pipe-separated, or whitespace-delimited text. Pick columns by 1-indexed number, output any delimiter or just one column.