Use Counter.most_common() to sort by frequency and take the keys:
Counter.most_common()
from collections import Counter my_list = [3,8,11,8,3,2,1,2,3,3,2] new_list = [x for x, _ in Counter(my_list).most_common()] # new_list -> [3, 2, 8, 11, 1]