There is a line with the text, quite large.
Question: how to sort out at the output and output that such a word occurs so many times, and such a word - so many times. And so that it is sorted descending. For example in this format: the word - the number of times.
I looked in the direction of multisort, but it seems to me that this is not the case.