Adding sort and pages:next & pages:previous