I have the object:
{'2017-10-2': 0.09457282561051072, '2017-10-3': 0.06606813446091735, '2017-10-1': 0.13701336286945082, '2017-10-6': 0.08511672971024725 }
And would like to sort it by date ( but the type of keys is string, not datetime ). The response should like like:
{
'2017-10-1': 0.13701336286945082,
'2017-10-2': 0.09457282561051072,
'2017-10-3': 0.06606813446091735,
'2017-10-6': 0.08511672971024725
}
Was trying to find something using google ,but unsuccessfully.
Thanks in advance,