diff --git a/index.js b/index.js index e1da65a..0952d4d 100644 --- a/index.js +++ b/index.js @@ -109,7 +109,7 @@ function groupByAuthor(modules) { author, modules: modules.sort() })) - .sort((a, b) => a.author > b.author); + .sort((a, b) => a.author.localeCompare(b.author)); } module.exports = ({ whitelist } = {}) => {