I have such a dictionary:
df = pd.read_csv(file, header=None)
l = (df.to_dict())
{0: {0: '1', 1: '6 4', 2: '2 4 8', 3: '4 6 7 2'}}
and I want to sort the values of each key in descending order which will be:
{0: {0: '1', 1: '6 4', 2: '8 4 2', 3: '7 6 4 2'}}