You have a point. That was first crossed my mind. I miss my morning coffee. Anyway, I tried it and it throws TypeError: not supported between instances of 'str' and 'int'. But, as you say, you do not get back sorted dict after load it.
I will think about this later. Bussy now.
I will think about this later. Bussy now.