Refactor sorting ready for pages