I'm writing a small PyQt code to create a batch file listing the order which the files on my drive are processed
Using the QFiledialog getopenFilenames method I can select the files, however the order in which I selected the files is not preserved

It's important that I get the order of the users selection EXACTLY right, as I want to process the files in the selected order. But I see that the list returned by getOpenFileNames does not preserve the selection order.

Does anybody have any suggestion to capture the selection order?

Thanks
I am using pyqt4 on windows