Reordering writes pages in the sequence supplied by the caller. That sequence must be a full permutation: every source page appears exactly once, with no omissions or duplicates. It is useful for corrected scan order, assembled packets, covers placed after generation, and workflows that need a deterministic page tree before signing.
Reorder from .NET
using OfficeIMO.Pdf;
PdfDocument source = PdfDocument.Open("scan.pdf");
PdfPageSelector order = PdfPageSelector.Parse("3,1,2,4-last");
PdfDocument reordered = source.Pages.Reorder(order);
File.WriteAllBytes("scan.reordered.pdf", reordered.ToBytes());
The operation creates a new document and preserves the page count. Use extract pages or delete pages when the output should contain only a subset.
Separate order from rotation
Reordering changes where pages appear; it does not change their orientation. Apply rotate pages separately so each operation and report says exactly what changed.