I am trying to find a way to change the order of the entries in a python dictionary. I start with something like
{'first_name': 'Jack', 'age': '40', 'second_name': 'Sparrow', 'encounter_time': '10/May/2022'}
I would like something like
{'first_name': 'Jack', 'second_name': 'Sparrow', 'age': '40', 'encounter_time': '10/May/2022'}