Python List Classy Key Lambda na mesma outra função

list1.sort(key=lambda x: (x.value1, x.value2))
Arno Deceuninck