My solution for a radixsort function.