Add counting sort.