From b356dab372c7726ddf39b9fd76e7d81d2d42255f Mon Sep 17 00:00:00 2001 From: Markus Opolka <markus@martialblog.de> Date: Wed, 19 Dec 2018 16:18:11 +0100 Subject: [PATCH] Sort feature glossary --- lib.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib.js b/lib.js index a77e493..9673bde 100755 --- a/lib.js +++ b/lib.js @@ -205,9 +205,9 @@ function featureGlossary (objs) { } let ret = { - categories: Array.from(new Set(categories)), - types: Array.from(new Set(types)), - subtypes: Array.from(new Set(subtypes)) + categories: Array.from(new Set(categories)).sort(), + types: Array.from(new Set(types)).sort(), + subtypes: Array.from(new Set(subtypes)).sort() } return ret -- GitLab