Frequency counting, sorting of lists, that sort of thing. (See what I did there?)
Cleaned up and improved(?) efficiency.