Overview

This sorts your numbers from smallest to largest. It's useful for homework, checking work with decimals and negatives, or finding the middle value.

Enter a number in each box.

Worked examples

InputsResult
Your numbers12, 3.5, 19, 7, 10Least to greatest: 3.5, 7, 10, 12, 19
Show 2 more examples
Your numbers-1, -3, 0, 2, -2Least to greatest: -3, -2, -1, 0, 2
Your numbers0.4, 0.25, 0.75, 0.5, 0.1Least to greatest: 0.1, 0.25, 0.4, 0.5, 0.75

How it works

The numbers are compared by value and listed in ascending order. Negative numbers come before zero, and the further a negative is from zero, the earlier it comes.

Practical tips

  • 12, 3.5, 19, 7 and 10 sort to 3.5, 7, 10, 12, 19.
  • −3 comes before −1, even though 3 is bigger than 1.
  • Convert fractions to decimals first, so 2/5 is 0.4.

Frequently asked questions

Is least to greatest the same as ascending?

Yes, they mean the same thing.

How do I order decimals by hand?

Line up the decimal points and compare digit by digit from the left.

Can I reverse the order?

Read the result from right to left for greatest to least.