Hello,
Doing some tests with DICOM teaching files stored on Orthanc, I noticed that the files downloaded from Orthanc as ZIP-archive or DICOMDIR-archive are not numbered in the same order as the DICOM instance numbers (tag 0020, 0013).
The following figure shows the sequence of my small DICOM study uploaded with the REST API.

As expected, the images are displayed in the same order in the Orthanc Webviewer.
The next figure shows the sequence of the study downloaded as ZIP-archive from Orthanc.

The differences in the sequence are visible.
The twenty DICOM instances are listed as follows in the ZIP- and DICOMDIR-archives :
2, 3, 1, 4, 6, 5, 7, 8, 9, 10, 12, 11, 13, 14, 15, 16, 17, 18, 19, 20
I explored the available documentation, but I was not able to deduct if this behavior of Orthanc is standard or a bug ?
best regards,
Marco Barnig