Update languages.js

This commit is contained in:
Aleksandr Statciuk 2022-02-15 06:56:54 +03:00
parent 86f277a264
commit eb00882236
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ module.exports = async function (streams = []) {
languages = languages.concat(stream.languages) languages = languages.concat(stream.languages)
}) })
languages = _.uniqBy(languages, 'code') languages = _.uniqBy(languages, 'code')
languages = _.sortBy(languages, 'name')
const output = [] const output = []
for (const language of languages) { for (const language of languages) {