For example from dictionary
{"Name": "Mark","country": "England", "Age":15,
"Name": "Tom","country": "Poland", "Age":10,
"Name": "Sam","country": "USA", "Age":19,
"Name": "Bob","country": "Italy", "Age":17}
I want to get
{"Name": "Tom","country": "Poland", "Age":10,
"Name": "Mark","country": "England", "Age":15,
"Name": "Bob","country": "Italy", "Age":17,
"Name": "Sam","country": "USA", "Age":19,}
Code like this is not helping
for key, value in sorted(dict.items(), key=lambda item: int(item[0]))