public function setNodeOrder(array $orderedList, array $movedList=null, $role=null) {
    $this->orderedNodes = [
        'ordered' => $orderedList,
        'moved' => $movedList,
        'role' => $role
    ];
    $this->setState(PersistentOBject::STATE_DIRTY);
  }