Here is the dictionary:
{'A': [2, 4.2],
'B': [4, 4.5],
'C': [2, 3.3],
'D': [2, 3.5], }
Sorting criteria:
Sort based on the 1st(first) element of list of VALUE.
If the 1st element is the same for two keys, the one with the greater value of 2nd element is chosen as the greater one.
The result should be:
B -- 4 -- 4.50
A -- 2 -- 4.20
D -- 2 -- 3.50
C -- 2 -- 3.30