Flip index order; support orphaning nodes.