I need to sort the following dict by value of the 'sales_min' key:
mydict = {
'NATION': {'sales_max': 1000, 'sales_min': 500, ...},
'LOCAL': {'sales_max': 250, 'sales_min': 0, ...},
'REGION': {'sales_max': 500, 'sales_min': 250, ...},
...
}
I haven't found a good way to do it. Any suggestion is appreciated.
Thank you.