public function orderBefore($srcChildRelPath, $destChildRelPath)
{
if ($srcChildRelPath === $destChildRelPath) {
//nothing to move
return;
}
if (null === $this->originalNodesOrder) {
$this->originalNodesOrder = $this->nodes;
}
$this->nodes = NodeHelper::orderBeforeArray($srcChildRelPath, $destChildRelPath, $this->nodes);
$this->setModified();
}