Radix Sort Guide
Radix sort is a digit based sorting method. It does not compare every value directly. Instead, it groups numbers by each digit position. The process starts with the least significant digit. Then it moves toward larger place values. This calculator shows that movement clearly.
Why This Calculator Helps
Manual radix sorting can feel slow. You must build buckets for ones, tens, hundreds, or another chosen base. One missed bucket can change the final order. This tool reduces that risk. It parses your list, cleans values, handles signs, and displays each pass. You can study the sorted result and the path used to reach it.
Advanced Input Control
The calculator accepts comma, space, semicolon, pipe, or line separated integers. You may choose ascending or descending order. You may also select a base from 2 to 36. Base ten is familiar. Base two can help with binary teaching. Larger bases can reduce pass count, although each pass has more buckets.
Signed Number Support
Radix sort works most naturally with non-negative integers. This page extends it for signed lists. Negative values are separated first. Their absolute magnitudes are sorted. The negative side is then reversed for ascending order. This places larger negative magnitudes before smaller ones. Finally, non-negative values are joined after them.
Reading the Results
The result summary gives the cleaned input count, ignored tokens, minimum, maximum, pass count, and complexity estimate. The pass table shows the active place value. It also lists bucket groups and the array after collection. These rows make debugging easier.
Using Downloads
The CSV file is useful for spreadsheets. It stores the main result and pass details. The PDF file is useful for lessons, records, or quick sharing. Both downloads use the same calculated data shown on the page. That keeps the report consistent.
Best Practice
Enter only whole numbers when possible. Check the ignored token list before trusting a result. Use a smaller base when teaching each digit step. Use a larger base when you want fewer passes. Compare both modes to understand the tradeoff. Always review the pass table for very important work.
Keep a saved copy when results support classroom notes. Use it for audits or repeat team reviews later too.