Radix sort in base 10