Fix EZP-22542: Object relation list order not updated when using Public API

This PR resolves issue https://jira.ez.no/browse/EZP-22542

When storing data order of relations depended on the order returned from DB, not the order from the update/create structure.
Also when reading data order of relations was not restored.

This fixes both problems, updating integration and adding unit tests.