whoops - this was performing an unstable sort, backwards

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4992 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Tom Conkling
2008-04-08 20:24:56 +00:00
parent 9ce195b99d
commit 839d722abf
+1 -1
View File
@@ -68,7 +68,7 @@ public class ArrayUtil
var jj :int = ii - 1;
for (; jj >= 0; jj--) {
var compVal :* = arr[jj];
if (comp(val, compVal) < 0) {
if (comp(val, compVal) >= 0) {
break;
}
arr[jj + 1] = compVal;