counting sort 3