List is sorted by frequency.