It happens more than you'd think. A stack of paper goes through the scanner upside down, so the last page comes first. Double-sided pages get scanned as all the fronts, then all the backs. Two separate scans get stuck together in the wrong order. Or someone simply wants the signature page at the end instead of the front.
Here you see every page as a thumbnail and put them where they belong. Drag a page with your mouse, or press and hold it on a phone and slide it into place. Then download one tidy PDF in the right order.