sorting a heterogeneous list of objects in python,"sorted(itemized_action_list, key=attrgetter('priority'))"