the name is the full path but without any index, but including slashes, right? i am worrying if 

this algo could re-sort something like this to have the child delete later:

    /my/node[2]/node[3]
    /my/node[2]

we may only ever re-sort siblings. if we move a parent delete above a child delete, we would break functionality.