Sort Lines in Natural Order

Sort your text lines in the correct human friendly order, even when the lines contain numbers. This tool sorts the numbers naturally, so “2” comes before “10” instead of after it.

  • Type or paste your text into the box.
  • Click Sort A–Z (Correct Number Order) to sort naturally (1, 2, 10, 11).
  • Click Sort Z–A (Reverse Number Order) to sort in reverse natural order.
  • The sorted lines will appear in the output box.

What is “correct number order”?
It means numbers are sorted the way humans expect: 1, 2, 10 — not 1, 10, 2.

Does this work with letters and numbers mixed together?
Yes. It sorts alphanumeric text naturally, such as filenames, lists, and data exports.

Is the sorting case insensitive?
Yes. “File” and “file” are treated the same.