Array.sortBy should also use the new stablesort.
This commit is contained in:
1 parent
f865484182
commit
309ec50691
1 file changed
+1
-1
@@ -503,7 +503,7 @@ function randomString(length, extra) {
|
|||||||
case "string": saveKeyPath(argument.match(/[+-]|[^.]+/g)); break;
|
case "string": saveKeyPath(argument.match(/[+-]|[^.]+/g)); break;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return this.sort(comparer);
|
return this.stableSort(comparer);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user