I would like to return a dictionary where values are lists sorted by descending length of values.
ex.
data = {'r': [4,3],'t': [4,5,6], 'n': [1,6]}
must give
data = {'t': [4,5,6], 'r': [4,3],'n': [1,6]}
Then, after this first sort, I would like that keys be sorted in alphabetical order for values of same length, as with
data = {'t': [4,5,6], 'n': [1,6], 'r': [4,3]}
Is there a way?