How to maintain the JSON sequence in the response from Elasctic, currently ordering is getting changed

How to maintain the JSON sequence in the response from Elastic, currently ordering is getting changed to what was inserted.

The best thing to do is to rely on a field.

So I'd add a timestamp or an id and then sort on that value.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.