lista= [('Ana', 30, 6.69), ('João', 25, 6.11), ('Pedro', 30, 6.69), ('Maria', 28, 5.45), ('Thiago', 40, 5.45), ('Raquel', 26, 10.0)]
lista.sort(key=lambda x: (-x[2], x[1], x[0]))
print(lista)
bGlzdGE9IFsoJ0FuYScsIDMwLCA2LjY5KSwgKCdKb8OjbycsIDI1LCA2LjExKSwgKCdQZWRybycsIDMwLCA2LjY5KSwgKCdNYXJpYScsIDI4LCA1LjQ1KSwgKCdUaGlhZ28nLCA0MCwgNS40NSksICgnUmFxdWVsJywgMjYsIDEwLjApXQpsaXN0YS5zb3J0KGtleT1sYW1iZGEgeDogKC14WzJdLCB4WzFdLCB4WzBdKSkKcHJpbnQobGlzdGEpCg==
[('Raquel', 26, 10.0), ('Ana', 30, 6.69), ('Pedro', 30, 6.69), ('João', 25, 6.11), ('Maria', 28, 5.45), ('Thiago', 40, 5.45)]