how to check response field is sorted asc or desc
type: REST API, method: GET
My JSON response contains list of documents, In which I have file size field. I can send a parameter in request to get all the documents sorted ASC or DESC on filesize.
I want to read the file size in response and check the order is ASC or DESC.
Thanks in advance.