3
Tried it but it does not do what I want but thanks for pointing it out.
Looking from some code I see what I really need is to just sort the main menu by blockid.
I see the sort in the Content Module file
" $result = $xoopsDB->query("SELECT *, blockid AS priority, 'content' AS type FROM ".$xoopsDB->prefix('content')." ORDER BY blockid");"
but it does not seem to run, so does anyone know where excatly the main module code is (not the template) the file with the exact SQL request.