in cached getSortValue function, use a cheaper args to key function

This commit is contained in:
rolux 2012-09-04 00:46:55 +02:00
parent bed08786a1
commit db9c55ff5e

View file

@ -612,7 +612,9 @@ Ox.range = function() {
});
}
return sortValue;
});
}, {key: function(args) {
return args[0];
}});
/*@
Ox.sort <f> Sorts an array, handling articles and digits, ignoring capitalization