public function moveChildToPosition(ItemInterface $item, ItemInterface $child, $position)
    {
        $name = $child->getName();
        $order = array_keys($item->getChildren());

        $oldPosition = array_search($name, $order);
        unset($order[$oldPosition]);

        $order = array_values($order);

        array_splice($order, $position, 0, $name);
        $item->reorderChildren($order);
    }