getAllPages ordering should now work as intended