Sort file names in natural order
Input
file10 file2 file1
Output
file1 file2 file10
Paste a list and sort it in natural, numeric, or dictionary order.
Choose a language and region, and remove blanks or duplicates if you want. Your browser does the sorting.
Input
file10 file2 file1
Output
file1 file2 file10
Input
10,5 2,75 1.234,5
Output
2,75 10,5 1.234,5
Input
Öga Zebra Äpple Ål
Output
Zebra Ål Äpple Öga
Compare number parts by their values. For example, 2 comes before 10.
Compare the lines as text. The order may depend on the language and region.
A locale sets the rules for sorting and formatting in a language or region. Pick one with a code such as ja, en, sv, or de-DE.
Natural order puts file2 before file10, the way you'd usually count. Dictionary order compares the names as text, so file10 can come first.
Yes. The tool uses the decimal and thousands separators for the language and region you choose. If it can't read a line as a number, it handles it using the setting you select for those lines.
“Automatic” usually works. To sort or read numbers using another language or region, select “Custom” and enter a code such as ja, en, sv, or de-DE.
By default, only identical lines count as duplicates. Choose “Use sort settings” to compare lines by your current case, accent, and number settings.
Your browser sorts the text without sending it to a server.
Yes. It uses Intl.Collator to compare text and reads numbers according to the language and region you pick. The exact order depends on your settings and your browser.
Your browser sorts the list on your device. The exact order can vary with your language and region settings and with the browser you use.