Advertisement

Least to greatest calculator

Paste numbers in any order and choose the direction. The output keeps every occurrence, including repeated values.

Calculator

Use commas, spaces or new lines between numbers. Use the same unit for every observation.

Sorted numbers
1, 2, 3, 4, 5
Observation count
5.000000
Numbered sorted list
PositionValue
1.0000001.000000
2.0000002.000000
3.0000003.000000
4.0000004.000000
5.0000005.000000

Advertisement

How this calculator works

The list is ordered by numeric value rather than by the characters in each entry. This places 2 before 10 and negative numbers before positive ones in ascending order. Descending order reverses the comparison. Sorting changes positions but does not remove duplicate observations, change their numeric values or assign tied statistical ranks.

Formula

Ascending order satisfies x(1) ≤ x(2) ≤ ... ≤ x(n). Descending order reverses these inequalities.

Worked example

The list 3, -2, 3, 0 becomes -2, 0, 3, 3. Both occurrences of 3 remain in the four-row result.

Advertisement

Frequently asked questions

Can I enter fractions?

Enter decimal equivalents such as 0.75. The numeric list input does not parse fraction expressions.

Are thousands separators allowed?

No. Commas separate observations: 1,000 is read as two numbers, 1 and 0. Enter 1000 for one thousand.

Is a sorted position the same as a rank?

Not when values tie. This table numbers rows; rank correlations instead average the tied positions.

Sources

Advertisement