How do I sort this list in Python, if my date is in a String?
- by alex
[{'date': '2010-04-01', 'people': 1047, 'hits': 4522}, {'date': '2010-04-03', 'people': 617, 'hits': 2582}, {'date': '2010-04-02', 'people': 736, 'hits': 3277}]
Suppose I have this list. How do I sort by "date", which is an item in the dictionary. But, "date" is a string...