I am using tcpdf to generate a PDF. The PDF generation adds images that have been uploaded. The order of the images matters. After I upload files in Drupal 6 using the upload module, Drupal 6 randomly orders the images (or attachments).
The uploaded images are draggable. But when I drag them to re-order and hit save, the order goes back to what Drupal thinks is best.
How can I change this behaviour to let Drupal recognise my re-ordering?