I'm setting up the categories for my website and I have them like so:
That's it, I have children of the same name but they are not interchangeable. If that bugs you just think that they have different names.
Then I go to a post and I want to add categories to it and now the tree is completely gone and the categories order is completely messed up:
Why is this happening? It's not always like this, sometimes the tree shows up nicely but that behaviour is not consistent. I have seen this happening countless times on other blogs and so far I've just ignored this behaviour because I (or the web admin) could identify which category is child of which parent but this is not the case because some names are repeating. Anyway even if my categories may not be the best practise, maybe for the end user is not transparent that one category is child of another one if the tree is broken like that, right?
EDIT: This is only happening when editing a post, when I add a new one everything is fine and dandy: