2
In extGallery 1.08 I found the following code taking care of the sorting of the pictures
extgallery/class/photoHandler.php line 108-118
function getAlbumPhotoPage($catId, $start) {
$criteria = new CriteriaCompo();
$criteria->add(new Criteria('cat_id',$catId));
$criteria->add(new Criteria('photo_approved',1));
$criteria->setStart($start);
$criteria->setLimit($GLOBALS['xoopsModuleConfig']['nb_column']*$GLOBALS['xoopsModuleConfig']['nb_line']);
$criteria->setSort('photo_weight, photo_id');
$criteria->setOrder('ASC');
return $this->getObjects($criteria);
}
It sorts the pictures first on weight and then on id. You could check if extGallery 1.06 has these lines to.