sort.js 147 B

123
  1. const compareBuild = require('./compare-build')
  2. const sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose))
  3. module.exports = sort