Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python sort dictionary alphabetically by key

sortednames=sorted(dictUsers.keys(), key=lambda x:x.lower())
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #sort #dictionary #alphabetically #key
ADD COMMENT
Topic
Name
2+1 =