Order and orientation of paintings