Simple, expected, and deterministic best-match sorting of an array in JavaScript
kentcdodds/match-sorter has 4,115 GitHub stars.
It currently ranks #13347 daily, #14342 weekly, #8774 monthly by momentum on Trending Repos; its best-ever rank is #6513.