Counting sort is stable sort now