Python public recipes
sorted will create a new list based on the original list and provide a key to use to compare items.
new_list = sorted(original_list, key=lambda item: item.get("entry_to_sort"))
sorted will create a new list based on the original list and provide a key to use to compare items.
new_list = sorted(original_list, key=lambda item: item.get("entry_to_sort"))