SyntaxFix
Write A Post
Hire A Developer
Questions
sorted(list, key=lambda x: x[1])
Note: this works on time variable too.