DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
sort by multiple keys in object python
s = sorted(s, key = lambda x: (x[1], x[2]))
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#sort
#multiple
#keys
#object
#python
ADD COMMENT
Topic
COMMENT
Name
1+9 =
Submit