Guarantee that subnodes are always in the right order