Deterministic merge behavior for repeating entities

The system has been enhanced to merge the updates to one single matching entity with the least sort ID.

When merging a follow-up record, if the same product name is added multiple times and thus there are more than one potential matches for the repeating entities in the current case, Safety One Argus now merges the incoming values into the matching current-case entity with the lowest sort ID. This prevents incoming dosage or product details from being applied inconsistently across matching entities.