attempt to sort pages