The Orient tool lets you rotate its input by 0, 90, 180, and 270 degrees (with the rotation parameter being an enumeration) and further flip the result vertically and/or horizontally.
The vertical and horizontal directions refer to the image after the rotation has been applied.
When possible, use this tool in lieu of more general transform tools because no resampling the input image required resulting in no loss of image quality.