I need a page that I can drop multiple photos (or other documents/images) into and then re-arrange them and then click "save" and have the order put into a database, along with the filenames and captions... That last bit I can already do (putting data into a database via PHP) but I need the order of the images to be saved too... so whichever one is dragged to the beginning can be "1" and the next one can be "2" and so on...

Any idea where I might find such an uploader and/or how to make one? If you can point me in the right direction it would be greatly appreciated.