Skip to content

Instantly share code, notes, and snippets.

@peroon
Created April 27, 2017 06:01
Show Gist options
  • Select an option

  • Save peroon/96c0dbace9e6f8eba760f6a0706970b6 to your computer and use it in GitHub Desktop.

Select an option

Save peroon/96c0dbace9e6f8eba760f6a0706970b6 to your computer and use it in GitHub Desktop.
sorted([(2, 3), (2, 2), (1, 1)])
# => [(1, 1), (2, 2), (2, 3)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment