REST json output - Is it possible to sort the objects in a json array?

0
Below picture shows the last two objects of a json response. Am I right that I cannot define the sorting of the objects in the json response?   Here is how I added the objects. I explicitly sorted the objects and verified that the Domains are ordered as expected. Still the last record has a lower DomainID than the one before. Is the ordering maybe based on the Mendix id? Below the list of the unsorted Domains.
asked
2 answers
3

Make sure that attribute sequence added accordingly while sorting, and if needed move up/down as required. I hope it will help, and also sort it just before returning the list.

answered
0

Thanks, Martijn, but no success. The below gives the same result.

answered