Add counting sort