1
The categories and links in the permission setting lists are ordered by category id-number.
le="color: #000000"><?php $cat_form = new XoopsGroupPermForm( '', $xoopsModule -> getVar( 'mid' ), 'WFLinkCatPerm', _AM_WFL_PERM_CSELECTPERMISSIONS."<br />" ); $result = $xoopsDB -> query( "SELECT cid, pid, title FROM " . $xoopsDB -> prefix( WFLINKS_CAT ) ); if ( $xoopsDB -> getRowsNum( $result ) ) { while ( $cat_row = $xoopsDB -> fetcharray( $result ) ) { $cat_form -> addItem( $cat_row['cid'], $cat_row['title'], $cat_row['pid'] ); } echo $cat_form -> render(); } else { echo "<div><b>" . _AM_WFL_PERM_CNOCATEGORY . "</b></div>"; } unset ( $cat_form ); etc. etc. etc.
How can I get these lists being displayed alphabetically?