diff --git a/src/editor/components/NavBlockList.js b/src/editor/components/NavBlockList.js index 5beb3b3..5e2857b 100644 --- a/src/editor/components/NavBlockList.js +++ b/src/editor/components/NavBlockList.js @@ -22,10 +22,15 @@ const NavBlockList = () => { // get styles for all blocks const themeBlockStyles = getThemeOption( `styles.blocks`, themeConfig ); + // sort the blocks by title + const orderedSchema = schemaBlocks.sort( ( a, b ) => + a.title.localeCompare( b.title ) + ); + return (