allow sorting only within the same page