Definition: A recursive bucket sort where elements are distributed based on succeeding pieces (characters) of the key.
Generalization (I am a kind of ...)
Specialization (... is a kind of me.)
Aggregate child (... is a part of or used in me.)
See also radix sort.
Note: For the first pass, elements are distributed according to the first character. In the first recursive call, the elements in each bucket are distributed to new "subbuckets" according to the second character. Succeeding deeper recursions use corresponding succeeding characters.
This is similar to radix sort, but works "top down" or "most significant digit first" while radix sort works "bottom up" or "least significant digit first". Also radix sort merges distributed items while this does not.
If you have suggestions, corrections, or comments, please get in touch with Paul E. Black.
Entry modified 16 November 2009.
HTML page formatted Tue Dec 6 16:16:33 2011.
Cite this as:
Paul E. Black, "top-down radix sort", in Dictionary of Algorithms and Data Structures [online], Paul E. Black, ed., U.S. National Institute of Standards and Technology. 16 November 2009. (accessed TODAY) Available from: http://www.nist.gov/dads/HTML/topdownRadixSort.html