Order numbered files
- Input or situation
- file10 file2 file1
- Result
- file1 file2 file10
Natural order reads the digit sequences as numbers. Ordinary A–Z ordering puts file10 before file2.
Put a list in alphabetical order, sort filenames with numbers, or move the last line to the top. Natural order puts file2 before file10; the length options help bring the shortest or longest entries together.
Runs in your browser — your input is not uploaded to ToolsNow.
For names with numbered parts: file1, file2 and file10. A → Z treats the digits as text and puts file10 before file2. Natural order compares digit runs numerically; it is not a parser for dates, currencies or spreadsheet columns.
Not necessarily. Alphabetical and natural sorting use the browser’s locale rules, so accented letters can fall in different places under different language settings. Review the result if you need a specific dictionary order.
Yes. Also remove duplicates keeps the first matching line before sorting. Comparison ignores spaces at the ends, and follows the Case sensitive setting; the kept line’s text stays as entered.
No. It uses a repeatable pseudo-random sequence, not cryptographic randomness. It is useful for rearranging a practice list or changing a reading order. Shuffle again changes the sequence, but does not guarantee a different result for a short list.
It includes spaces in each line and measures JavaScript string length. An emoji can take more than one string position, so this is not always the same as the number of visible characters.
Put one item on each line. Choose A–Z for words, natural order for numbered filenames, or length to bring the shortest or longest entries to the top.
Natural order reads the digit sequences as numbers. Ordinary A–Z ordering puts file10 before file2.
Published by ToolsNow. How tools and sources are checked · Report a problem