sort.js 147 Bytes Raw Blame History Permalink 1 2 3 const compareBuild = require('./compare-build') const sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose)) module.exports = sort