With pages sorted correctly