partially working radix sort