This is the inspection of the Revision object, with the LinkedHashMap correctly ordered
After saving it, if I retrieve the same document, I get this.
The 'body' field of the 'retrieved' object appears to be correctly ordered, but if I get it as a Map, the map is disordered.
This is not a big deal to me but I have notice that after replication, the document is saved in the server with the same order that the disordered map I have retrieved on the app.
I really want to have the document correctly ordered on the server for readably purposes, is it possible?
I'm running my code on Android 6.0, even though, may this issue be related to the following link? LinkedHashMap entrySet's order not being preserved in a stream (Android)
Thanks for your help!