如何按日期对列表列表进行排序?

时间:2019-05-27 10:06:14

标签: python python-3.x

mylist = [{'2019-05-27','AAAAA'},{'2019-05-12','BBBBB'},{'2019-05-25','CCCCC'}]

输出: [{'2019-05-12','BBBBB'},{'2019-05-25','CCCCC'},{'2019-05-27','AAAAA'}]

0 个答案:

没有答案