From cb423b0d22854d66bdd38afb8aed71b3e74e4f03 Mon Sep 17 00:00:00 2001 From: Andrei Draganescu Date: Sat, 28 Sep 2019 19:04:39 +0300 Subject: [PATCH] better ordering --- packages/block-library/src/navigation-menu/edit.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/block-library/src/navigation-menu/edit.js b/packages/block-library/src/navigation-menu/edit.js index 06db871bcbc445..82681314280ca0 100644 --- a/packages/block-library/src/navigation-menu/edit.js +++ b/packages/block-library/src/navigation-menu/edit.js @@ -75,6 +75,8 @@ export default withSelect( ( select ) => { const { getEntityRecords } = select( 'core' ); const filterDefaultPages = { parent: 0, + order: 'asc', + orderby: 'id', }; return { pages: getEntityRecords( 'postType', 'page', filterDefaultPages ),