Skip to content

Instantly share code, notes, and snippets.

@ibeauregard
Created June 12, 2021 16:33
Show Gist options
  • Save ibeauregard/9ceb408612aed5f6c7c1ad75154788d2 to your computer and use it in GitHub Desktop.
Save ibeauregard/9ceb408612aed5f6c7c1ad75154788d2 to your computer and use it in GitHub Desktop.
order_by([('93465', 'hi'), ('0', ''), ('45783', 'good day')], [Key(1, True), Key(0, False)])
# Output: [('0', ''), ('45783', 'good day'), ('93465', 'hi')]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment