I have a list of two dictionaries in Python
list = [{'id' : 'ewsfsdf',
'_source' :
{'timestamp':'2018-08-08T20:56:01',
'bytes':'43534534'}},
{'id' : 'ewsfsdz',
'_source' :
{'timestamp':'2018-08-08T20:57:01',
'bytes':'4354343534'}}]
I would like to sort the list element by the timestamp in the 2nd depth dictionary. I looked up many other examples of python but could not find a suitable solution to order list element by a dictionary element of a dictionary element in a list.
Can you give me a clue?