UNPKG
pi-test-data
Version:
latest (1.0.8)
1.0.8
Manage test data for automation
github.com/automationpi/datapi
automationpi/datapi
pi-test-data
/
tester
/
node_modules
/
semver
/
functions
/
rsort.js
4 lines
(3 loc)
•
149 B
JavaScript
View Raw
1
2
3
4
const
compareBuild =
require
(
'./compare-build'
)
const
rsort
= (
list, loose
) => list.
sort
(
(
a, b
) =>
compareBuild
(b, a, loose))
module
.
exports
= rsort