PROV-545 Fix for jumping representation sort order. We were recording representation rather than relation_id as the sort key on edit, and this was causing the seemingly random jumping, which wasn't actually random.