Removed separate sorting handler for pages