some_list.sort(key=lambda x: x.name) #To sort in place
new_list = sorted(some_list, key=lambda x: x.name) #Returns a new list
add 'reverse=True' to change order to desc
my_dict.pop('key', None) #Returns none if the key does not exists
dict_1.update(dict_2) #Merge dictionaries