The order of the direct children of an inner tree node is not specified.
However, in many simple cases the algorithm will order the children by their previous x-coordinate: