I need help reversing the order of the output from the this code. The code gets a list from a .txt file of food brands then out puts how many instances the brand occurres. I need it to be in descending order not ascnding tho, an dthat where I'm stuck.
The text file is similar to.
Westminster Cracker Company
Warburtons
Hovis
Westminster Cracker Company
Nabisco
McVitie's
Mother's Pride
McVitie's
Pepperidge Farm
Westminster Cracker Company