I currently have a dictionary in Python3 that looks like this
{'parentkey1': {'value1': 3, 'value2': 0},
'parentkey2': {'value1': 2, 'value2': 5},
'parentkey3': {'value1': 6, 'value2': 9},
'parentkey4': {'value1': 8, 'value2': 3}
}
Is there a way that I can arrange the nested dictionary that it becomes
{'parentkey1': {'value2': 0, 'value1': 3},
'parentkey2': {'value1': 2, 'value2': 5},
'parentkey3': {'value1': 6, 'value2': 9},
'parentkey4': {'value2': 3, 'value1': 8}
}