How to validate non-numeric field is ASC or DESC?
type: REST API, method: GET
1)My JSON response contains list of documents, In which I have filename field (non-numeric).
I can send a parameter in request to get all the documents sorted ASC or DESC on filename.
I want to read the filename in response and check the order is ASC or DESC.
2) same way I also want to apply the same ASC and DESC logic on date field.
Thanks in advance.