用例:['The', 'quick', 'brown', 'fox', 'jumps', 'over', 'the', 'lazy', 'dog'] 结果:['lazy', 'fox', 'jumps', 'over', 'brown', 'quick', 'dog', 'The', 'the']
l = ['The', 'quick', 'brown', 'fox', 'jumps', 'over', 'the', 'lazy', 'dog']
res = sorted(l, key=lambda x: x[-1], reverse=True)
print(res)