protected function onInsertToDb()
 {
     //fix the initial sort-id
     $strQuery = "SELECT COUNT(*)\n                       FROM " . _dbprefix_ . "system\n                      WHERE system_prev_id = ?\n                        AND (system_module_nr = ? OR system_module_nr = ?)";
     $arrRow = $this->objDB->getPRow($strQuery, array($this->getPrevId(), _pages_modul_id_, _pages_folder_id_));
     $this->setIntSort($arrRow["COUNT(*)"]);
     return parent::onInsertToDb();
 }