Array.sortBy should also use the new stablesort.

This commit is contained in:
Kate von Roeder
2013-11-20 09:15:25 -08:00
parent f865484182
commit 309ec50691
+1 -1
View File
@@ -503,7 +503,7 @@ function randomString(length, extra) {
case "string": saveKeyPath(argument.match(/[+-]|[^.]+/g)); break;
}
});
return this.sort(comparer);
return this.stableSort(comparer);
}
});