sort a list of dicts by x then by y,"list.sort(key=lambda item: (item['points'], item['time']))"