Newer
Older
vue-indexer / node_modules / semver / functions / rsort.js
@eugene-sukhodolskiy eugene-sukhodolskiy on 24 Sep 149 bytes v1.0
const compareBuild = require('./compare-build')
const rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose))
module.exports = rsort