Try to sort pages correctly on remote