python dictionary sort by value then alphabetically

37

sortednames=sorted(dictUsers.keys(), key=lambda x:x.lower())
sortedList = sorted(h, key=lambda k: (-k[1], k[0]))

Comments

Submit
0 Comments