ordering images on the server