code: function addChild (getValue, newChild, tree) {
      tree.children.splice(
        binaryIndexBy(getValue, getValue(newChild), tree.children),
        0, newChild
      );
  
      return newChild;
    }
docs: Adds a node child into the tree in order according to `getValue`