lambda solution in Clear category for Frequency Sorting by katnic
frequency_sorting = lambda N: sorted(N, key = lambda x: (-N.count(x), x))
Dec. 3, 2021