"uniq -c" adds a column with the count of unique elements.
For the purposes of returning the most frequent elements, you can only do the final sort once that column has been added.
"uniq -c" adds a column with the count of unique elements.
For the purposes of returning the most frequent elements, you can only do the final sort once that column has been added.