guardian page and sort rerfactoring