better: `sorted(..., key=lambda x: x.name)`