import itertools
seq = [
{ "date" : "2011-06-01","id": 123,"year":"2011"},
{ "date" : "2013-07-13","id": 123,"year":"2013"},
{ "date" : "2012-07-13","id": 123,"year":"2012"},
{ "date" : "2010-08-18","id": 456,"year":"2010"}
]
for k, v in itertools.groupby(seq, lambda d: d["id"]):
biggest = max(v, key=lambda d: d["date"])
print(biggest["date"], biggest["id"])
#result:
#2013-07-13 123
#2010-08-18 456