Radix sort sorts encoded sort keys a digit at a time. Its least-significant-digit version uses stable sorting on each successive digit, often by counting sort. For digits with possible values each, it takes time complexity in Big O notation, assuming constant-cost digit extraction and indexing. Stable sorting retains the ordering established by earlier digits when a later digit ties. Both digit access and the direct indexing in counting sort lie outside the comparison sort model, so these bounds do not contradict the comparison sorting lower bound.[ref]
Articles by others on the same topic
Radix sort is a non-comparative integer sorting algorithm that sorts numbers by processing individual digits. It is particularly efficient for sorting large sets of integers or strings where the number of digits (or characters) in the keys is relatively small compared to the number of keys.