How can I sort a list in ascending order without key matching?
Every key is unique and need sorting keys.
Input:
[{23: (1, 5)},
{59: (2, 3)},
{45: (2, 9)},
{28: (3, 6)}]
The output should be like this (Sorting based on keys of dict):
[{23: (1, 5)},
{28: (3, 6)},
{45: (2, 9)},
{59: (2, 3)}]