Ordering numbers from least to greatest
Ordering a set of numbers from least to greatest means arranging them in ascending order: the smallest value first, then each next-largest value, ending with the largest. On a number line this is simply reading the values left to right. This calculator does exactly that — it reads your list, compares every value numerically, and rewrites the list in ascending order while keeping any repeated values (duplicates) in place.
The rule for comparing values
A number is "less than" another when it lies further to the left on the number line. That single rule handles every case:
- Whole numbers and decimals: compare digit by digit. 3.5 is less than 3.51 because 3.500 < 3.510 once you line up the decimal places.
- Negative numbers: the more negative a number, the smaller it is. So -8 < -2 < 0 < 5. A common mistake is to treat -8 as larger than -2 because 8 > 2 — but the minus sign reverses the order.
- Fractions: convert to decimals (divide top by bottom) or rewrite over a common denominator, then compare. For example 2/3 ≈ 0.667 is less than 3/4 = 0.75.
Why ordering matters
Sorting is the first step behind many everyday statistics. Once a list is in ascending order, the minimum is the first entry, the maximum is the last, the median is the middle value (or the average of the two middle values when there is an even count), and the range is the maximum minus the minimum. This calculator reports all four so you get the ordered list and its key summary values in one step.
Worked example
Take the list 3/4, -2, 0.5, 12, -8, 7. Converting the fraction, 3/4 = 0.75. The values in numeric terms are 0.75, -2, 0.5, 12, -8, 7. Sorted from least to greatest they become -8, -2, 0.5, 3/4, 7, 12. Here the minimum is -8, the maximum is 12, the median is the average of the two middle values 0.5 and 0.75, which is 0.625, and the range is 12 − (−8) = 20.
Handling duplicates and mixed formats
Duplicate values are kept, so ordering 4, 1, 4, 2 gives 1, 2, 4, 4 — the count of numbers never changes. You can mix integers, decimals, negatives, and fractions in the same list; each entry is compared by its numeric value, and each is shown in the ordered list exactly as you typed it (so 3/4 stays written as 3/4, not 0.75).