diff --git a/src/static/js/pluginfw/read-installed.js b/src/static/js/pluginfw/read-installed.js index cc03b3579..7a8fb787a 100644 --- a/src/static/js/pluginfw/read-installed.js +++ b/src/static/js/pluginfw/read-installed.js @@ -128,7 +128,7 @@ function readInstalled_ (folder, parent, name, reqver, depth, maxDepth, cb) { fs.readdir(path.resolve(folder, "node_modules"), function (er, i) { // error indicates that nothing is installed here if (er) i = [] - installed = i.filter(function (f) { return f.charAt(0) !== "." }) + installed = i.sort().filter(function (f) { return f.charAt(0) !== "." }) next() })