Radix sort prototype