Indexes and Offline

0
I have parent and child entity. The child has an index on a sequence number. I retrieve the child data over association. When the data is shown on the repsonsive app it is in sequence. However the offline mobile app does not regard the sequence and returns the data in some random order. Should not the data be returned in the order based on the value of the sequence number?
asked
1 answers
3

As your data is not stored in any special order, you can never be sure in which order you get the objects when retrieving over association. If you want to have an order, you need to add a sorting or retrieve from database (xpath) with a specified sorting.

answered