convertCASEpro

MODE

Number Sorter

Paste numbers in any common format and get a clean sorted list.

INPUT
CHARS: 0WORDS: 0LINES: 0
OUTPUT
CHARS: 0WORDS: 0LINES: 0

How the Number Sorter works

Numbers can be separated by commas, semicolons, spaces or new lines. Each token is read as a real number, so 10 sorts after 9 rather than after 1, and negative values and decimals are handled correctly. Tokens that are not numbers are ignored and counted in the status line.

Choose ascending or descending order, remove duplicates if needed and pick the separator for the result. The info line also reports the count, sum, minimum and maximum, which makes the tool handy for quick checks.

When it is useful

  • •Putting survey scores, prices or measurements in order.
  • •Finding the smallest and largest values in a pasted column.
  • •Turning a messy comma separated list into one number per line.
  • •Removing duplicates from a list of IDs or years.

Frequently Asked Questions

Why is sorting numbers as text different?

Text sorting compares character by character, so 100 comes before 20. This tool compares the actual values, so 20 comes before 100.

What happens to values that are not numbers?

They are skipped, and the info line tells you how many were ignored so that nothing disappears silently.

Can it sort words instead?

Use the Sort Words Alphabetically tool for text. It also has a natural sort mode that handles numbers inside words, such as item2 and item10.

Related tools

[ Browse all tools ]