Ordering elements
Rotate images to correct orientation