Skip to content

Instantly share code, notes, and snippets.

@kra3
Created September 19, 2011 19:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kra3/1227363 to your computer and use it in GitHub Desktop.
Save kra3/1227363 to your computer and use it in GitHub Desktop.
First Thought
sorted([[5, 'Man', 1], [2, 'Arun', 6], [4, 'Dummy', 6], [1, 'Naveen', 3], [3, 'Bajsd', 7]], key=lambda x: str(x[1]).lower())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment