How to change page order / sort pages in a document?

Open CamScanner app--open a document--top right settings icon--Last on top or First on top or manully sorting.

You can also open a document--long press to select a page/pages and then drag it/them to the place you need.