HierarchicalCOntainer which contains items in some order (reordered through
When I try to get their
ID collection I get them into order I have originally inserted, not the order they are shown.
I have checked both
.nextItemId(). Both do not match the order I see on the screen.
What do I do wrong way?
After looking to
HierarchicalCOntainer source I have figured how
.moveAfterSibling() works. The only remedy is to get
root elements list: