I struggled a lot to understand the sorting for rest api, and after some testing found that the date field type is not sorting.
i have a test collection with just one field Date of Fieldtype date,
and have these four dates, 2019-10-18, 2019-06-18, 2019-02-20, 2019-06-21
my request url
But the response order is not sorted, below is the order i received
Either the sort api is not working or there is some default sort, which am not able to figure out.
Although i did find that Text Fieldtype sorting works, can anybody help me here please?