Radix sort done + clever radix sort(choosing r). Counting sort is now stable.