How to Use Sort Lines Numeric: Steps and a Worked Example

By 1 min read

Sort lines by their numeric value rather than alphabetically. This guide shows what to enter, a worked example, and the limits to keep in mind. The Sort Lines Numeric tool is free, needs no account and runs in your browser.

What you need

  • Numbers, one per line

Step by step

  1. Open the Sort Lines Numeric tool.
  2. Fill in Numbers, one per line.
  3. Read the result, which updates as soon as the inputs change.

Worked example

the tool returns:

1.5
2
4
10
33

How it works

Paste one number per line. 2 comes before 10, unlike an alphabetical sort.

Things to keep in mind

Check your inputs, units and any local rules before you rely on the result.

If this is not quite what you need, try Sort Lines Descending, Sort Text Lines Alphabetically or Remove Duplicate Lines.

More from the blog