Skip to main content

Free 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`.
8 sorted
backup_v1.2.9.zip
backup_v1.2.10.zip
backup_v1.10.0.zip
file1.txt
file2.txt
file3.txt
file10.txt
file22.txt

Frequently Asked Questions

Frequently Asked Questions

References

References and sources

Related Tools

Related Tools