human
Sort list of date strings
assistant
Here is some code to sort list of date strings 'd'

sorted(d, key=lambda x: datetime.datetime.strptime(x, '%m-%Y'))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.