Set page number 1 by default when sorted