I've the following dict of list
d = {
'k1':['EKAD', 444.2089, 121],
'k2':['EKADD', 559.2358, 121],
'k3':['KADDLG', 600.2988, 122],
'k4':['ADDLGKG', 657.3202, 123]}
I wish to get the keys sorted first by value[2]
then by length of value[0]
string and in reverse order, i.e. the output will be k2, k1, k3, k4.