small fixes to pages sorting order