Sorting queries by date: Retrieve the latest 100 studies.

I’m able to query and limit the studies retreived, but how can I sort them by an arbitrary comparable tag such as StudyDate?

r2 = requests.post(‘http://orthancserver.com:8042/tools/find’,data='{“Level”:“Study”,“Query”: {“PatientID”:“”,“StudyDescription”:“”,“PatientName”:“”},“limit”:100}’

I couldn’t find anything in the Dicomweb nor the C-Find section of the standard. But I was hoping Orthanc offers support for this.

Thank you.