"python: tuples/dictionaries as keys, select, sort",fruits.sort(key=lambda x: x.name.lower())