Sort numbers from greatest to least with visual bar chart, ranked data table showing percentiles, gaps, deviations, and a five-number summary with IQR.
Sorting numbers from greatest to least (descending order) is a fundamental operation in data analysis, from ranking students by test scores to ordering products by price. This calculator goes far beyond simple sorting — it generates ranked output with percentiles, gap analysis between consecutive values, deviations from the mean, and a visual bar chart showing relative magnitudes.
Enter any set of numbers and get the complete ordered list with the ">" symbol between values, a ranked data table with statistical context for each entry, and a visual distribution chart. The five-number summary (min, Q1, median, Q3, max) and IQR provide additional distribution insights. Support for currency and percentage formatting makes the output ready for reports and presentations.
Whether you're grading assignments, ranking competitors, organizing data for a report, or teaching children to compare numbers, this calculator provides immediate, clear results with statistical depth that simple sorting doesn't offer. Check the example with realistic values before reporting.
While sorting numbers seems trivial, this calculator adds analytical depth that manual sorting lacks. The percentile column situates each value in the distribution, the gap analysis reveals clustering patterns, and the deviation column shows each value's position relative to the mean. The visual bar chart makes relative magnitudes immediately apparent.
The currency and percentage formatting options, combined with adjustable decimal places, produce output ready for inclusion in reports or presentations without additional formatting.
Descending sort: arrange values so v₁ ≥ v₂ ≥ ... ≥ vₙ Percentile of rank r: (n − r) / (n − 1) × 100% Gap: vᵣ₋₁ − vᵣ (difference from previous ranked value) Deviation: vᵢ − mean IQR: Q3 − Q1
Result: 97 > 95 > 92 > 91 > 89 > 88 > 85 > 84 > 82 > 78 > 76 > 73
The 12 test scores are sorted from highest (97) to lowest (73). The range is 24 points, mean is 85.83, and median is 86.5. The largest gap (4 points) occurs between 78 and 82, suggesting a cluster of higher scores and a few lower outliers. Q1 = 78, Q3 = 91.5, IQR = 13.5.
Comparing and ordering numbers is one of the earliest mathematical skills, introduced in grade 1 with single-digit whole numbers and progressively extended to multi-digit numbers, negative numbers, fractions, and decimals through elementary school. The concept of "greater than" (>) and "less than" (<) symbols is fundamental to number sense and is a prerequisite for understanding number lines, inequalities, and ordering operations.
Rank-based statistics provide robust alternatives to parametric methods. The Spearman rank correlation uses ranks instead of raw values to measure association. The Wilcoxon rank-sum test and the Kruskal-Wallis test use ranks for hypothesis testing without assuming normality. Converting data to ranks is the first step in all these procedures.
Rankings pervade decision-making. Businesses rank products by revenue, customers by lifetime value, and employees by performance metrics. Sports leagues rank teams by win percentage, athletes by scoring average, and draft prospects by composite scouting scores. In every case, the distribution of gaps between ranked items is as informative as the rankings themselves — tight competition versus clear leaders.
They are the same thing. "Greatest to least" is the everyday term; "descending order" is the mathematical term. Both mean arranging numbers from the largest value down to the smallest value.
The percentile indicates the proportion of data that falls at or below a value. Rank 1 (maximum) is at the 100th percentile, and the minimum is at the 0th percentile. For rank r in a dataset of n values: percentile = (n − r) / (n − 1) × 100.
The gap shows the difference between each value and the one ranked above it. Large gaps indicate possible clusters or outliers. If most gaps are 2-3 but one gap is 15, there's likely a break in the data that could indicate distinct groups.
Yes. Negative numbers are sorted correctly. For example, −5, 3, −2, 8 becomes 8 > 3 > −2 > −5 (greatest to least).
The five-number summary (min, Q1, median, Q3, max) forms the basis of a box plot and gives a quick picture of data spread. IQR = Q3 − Q1 measures the middle 50% of data. Values beyond Q1 − 1.5×IQR or Q3 + 1.5×IQR are potential outliers.
Equal values receive the same position in the sorted list and appear adjacent. They have the same "value" but sequential ranks. The gap between tied values is 0.