@@ -287,4 +287,12 @@
return a;
}
+ static function __init__() : Void {
+ try {
+ var msort : Dynamic = neko.Lib.load("std","merge_sort",3);
+ untyped Array.prototype.sort = function(cmp) msort(__this__.__a,__this__.length,cmp);
+ } catch( e : Dynamic ) {
+ }
+