Fixing radix sort