mydict = {'Rust': {'definition': 'rusts definition'}, 'Iron': {'definition':
    'iron definition'}, 'Pyrite': {'definition': 'pyrite definition'}}
myorder = ['Pyrite', 'Rust', 'Iron']
How to reorder a python ordered dict based on array?