I have a nested treemap based on the following structure, and then it ofc continues from “2”:{ with the same structure..
And as you can see, it is already sorted by the “c13” sub item (episode number).. but when i use the treemap in my applications, it shows up like this:
http://i50.tinypic.com/15o9vno.png
They are not even remotely sorted.. but i cant see why? :O
Its the same problem when using it in my android app..
Cheers
Here is some valuable infomation on TreeMap:
Have you correctly implemented the methods mentioned above?
There are also different implementations of the Collections framework (An overview is here). If TreeMap doesn’t provide the functionality you want you can implement another one and modify it to your needs.