Tree reorder now takes children into account