Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Frequency Sorting by rafal.pawlowski
def frequency_sorting(old_list):
old_list.sort()
new_list = sorted(old_list, key = old_list.count, reverse=True)
return new_list
Feb. 27, 2019