order new images by id ASC so that the one with max id is always at the end