I am getting a list like below:
[
{
'latitude': Decimal('0E-8'),
'longitude': Decimal('0E-8'),
'placeValue': None,
'orgValue': {
'step': u'dispatched',
'time': u'2016-09-1 22: 15: 30.012000+00: 00'
},
'desiredValue': None
},
{
'latitude': Decimal('0E-8'),
'longitude': Decimal('0E-8'),
'placeValue': {
'time': u'2016-09-13 18: 15: 30.012000+00: 00',
'step': u'on the way',
'feedback':'satisfied'
},
'orgValue': None,
'desiredValue': None
}
]
I want to sort based on time. That means the dictionary which has latest time will placed as first & there on.
Saw some link of SO:link
As my data changes from 1 dictionary to another.So couldn't get a way to find the solution.Can some one share some idea?