python字典排序
dic = {'a':31, 'bc':5, 'c':3, 'asd':4, '33':56, 'd':0}
sorted(dic.iteritems(), key=lambda d:d[1], reverse = False )
为无为,事无事 / 天下难事,必作于易
dic = {'a':31, 'bc':5, 'c':3, 'asd':4, '33':56, 'd':0}
sorted(dic.iteritems(), key=lambda d:d[1], reverse = False )