From 614861348f41d326f16c18d2b2c21e79adb7e476 Mon Sep 17 00:00:00 2001 From: Alejandro Villar Date: Tue, 8 Aug 2023 16:47:51 +0200 Subject: [PATCH] Sort bblocks in register.html --- assets/js/main-register.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/main-register.js b/assets/js/main-register.js index 5b4971907..556f4d861 100644 --- a/assets/js/main-register.js +++ b/assets/js/main-register.js @@ -69,7 +69,7 @@ $(document).ready(function () { $.get("./register.json") .then(bblocks => { - bblocks.forEach(bblock => { + bblocks.sort((a, b) => a.itemIdentifier.localeCompare(b.itemIdentifier)).forEach(bblock => { const docLink = bblock.documentation.slate.url; const $parent = $('
')