stus = [{'name': 'zhangsan', 'age': 18}, {'name': 'lisi', 'age': 19}, {
    'name': 'wangwu', 'age': 17}]
stus.sort(key=lambda x: x['name'])
print(stus)

38230011307032015516f29b7bd98fcdfebb039e
<mask token>

<mask token>
stus.sort(key=lambda x: x['name'])
print(stus)

stus = [{'name': 'zhangsan', 'age': 18}, {'name': 'lisi', 'age': 19}, {
    'name': 'wangwu', 'age': 17}]
stus.sort(key=lambda x: x['name'])
print(stus)
