unsorted_list = [{"key1":5, "key2":2}, {"key1":5, "key2":1}] sorted_list = sorted(unsorted_list, key=lambda k: k["key2"])