fix example

This commit is contained in:
Dmitry Vasilev
2023-07-16 18:49:05 +03:00
parent 4118bc63d2
commit 43f1de5f43

View File

@@ -9,7 +9,7 @@ async function getPopularLanguages() {
.filter(l => l != null)
.countBy()
.toPairs()
.sortBy(([lang, useCount]) => useCount)
.orderBy(([lang, useCount]) => useCount, 'desc')
.map(([lang]) => lang)
.value()
}