Skip to content

Instantly share code, notes, and snippets.

@bradwright
Created March 24, 2009 17:48
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 bradwright/84255 to your computer and use it in GitHub Desktop.
Save bradwright/84255 to your computer and use it in GitHub Desktop.
list1 = [
{'created':1},
{'created':0},
]
list2 = [
{'created':2}
]
combined = list1 + list2
combined = sorted(combined, key=lambda x: x['created'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment