When sorting, move to first page