Fixed sort of pages at creation time