Radix sort and tests