Add an option for a smart page rotation tool where for the selected range or all pages, you can indicate to smart rotate all pages to portrait or landscape, and whether to rotate clockwise or counterclockwise. This 'smart' rotate will only rotate pages that are not in the correct orientation. It should run based on whether the page height is taller than the width as the definition of Portrait, not the assigned media orientation (because sometimes they don't match…). After it runs, it would be nice to give a completion popup that indicates how many pages were rotated, and an option to copy to the clipboard a text list (CSV pair) of the page numbers and whether it was rotated or not rotated (Y/N).