--- Classes/Database/ReferenceIndex.php 2022-11-04 12:48:07.870000000 +0100 +++ Classes/Database/ReferenceIndex.php 2022-11-04 12:50:22.799514929 +0100 @@ -266,7 +266,14 @@ if (!is_array($relation)) { continue; } - $relation['hash'] = md5(implode('///', $relation) . '///' . $this->hashVersion); + + $hashRelation = $relation; + if ($tableName == 'sys_category') { + unset($hashRelation['sorting']); + } + + $relation['hash'] = md5(implode('///', $hashRelation) . '///' . $this->hashVersion); + // First, check if already indexed and if so, unset that row (so in the end we know which rows to remove!) if (isset($currentRelationHashes[$relation['hash']])) { unset($currentRelationHashes[$relation['hash']]);