public function getRelationSorting($tableName, $uidLocal)
    {
        if (!$this->relationSorting[$tableName][$uidLocal]) {
            $this->relationSorting[$tableName][$uidLocal] = 0;
        }

        $this->relationSorting[$tableName][$uidLocal]++;

        return $this->relationSorting[$tableName][$uidLocal];
    }