sort by number of words