We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c6de35 commit 529b2dfCopy full SHA for 529b2df
lib/util.js
@@ -5,7 +5,7 @@ const { resolve } = require('path');
5
exports.glob = async function (dir) {
6
const output = [];
7
await totalist(dir, (name, abs) => output.push({ name, abs }));
8
- return output.sort((a, b) => a.name.localeCompare(b.name)); // ~rand order
+ return output.sort((a, b) => a.name.localeCompare(b.name, undefined, { numeric:true })); // ~rand order
9
}
10
11
exports.diff = function (prevs, nexts) {
0 commit comments