Suddenly disfunctional.
Revert "Suddenly disfunctional."

This reverts commit 3a14f7ac16fdd8902abf1bab491214f08476f256.
Images are now saved in order.

Images can be dragged to be in a arbitrary order. This order will be
preserved in the database.