UtilityPilot.Find a tool

Text & Lists

Sort lines

Arrange a list alphabetically, naturally, numerically or by character length. Reverse the existing order when you need the last entry first.

Processed in your browserPrivacy details ↗

1 MiB per input

Adjust your options

No sign-up. No upload.

A QUICK WALKTHROUGH

How to use this tool

  1. Paste one item on each line.
  2. Select a sorting method and language; use natural sorting for numbered names.
  3. Sort, inspect equal-key behavior and copy the reordered list.

How it works

Alphabetical and natural modes use the selected language’s collation. Natural mode compares digit runs as numbers, so item2 precedes item10. Numeric mode compares decimal spellings without rounding long integers or fractional digits. It accepts finite decimal notation and scientific notation; hexadecimal and localized number formats are rejected. Length mode counts Unicode code points, not display width. Equal comparator values keep their original order.

A practical example

Start with

item10
item2
item1

What to expect

Natural order: item1, item2, item10. Alphabetical order: item1, item10, item2.

Important considerations

Currency symbols, blank lines and localized decimal commas are not valid numeric inputs here. Remove or standardize them first. Sorting does not remove duplicates.

1 MiB per input. Input remains in page memory until you reset or leave. Copy and download actions are initiated by you. No tool input is sent to a processing service.

One more useful detail

Does descending reverse equal entries too?

No. Descending changes the comparison direction while equal keys remain stable. Reverse current order reverses every line.