ordered the images to be displayed