add the counting sort