I have a list of dicts in python which look like these:
[{'day' : 'Wednesday' , 'workers' : ['John' , 'Smith']} ,
{'day' : 'Monday' , 'workers' : ['Kelly']}]
I want to sort them by day of week such that the result is
[{'day' : 'Monday' , 'workers' : ['Kelly']},
{'day' : 'Wednesday' , 'workers' : ['John' , 'Smith']}]
I can use this answer to sort list of just weekday names: Sort week day texts but is there a way to sort the above dict?