Fixed up radix sort