Guest User

Untitled

a guest
Jul 21st, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. // Borrow the sort function from array
  2. private static native function _sort(o, args:Array);
  3. prototype.sort = function(comparefn){
  4. var a : Array = [comparefn];
  5. return _sort(castToThisType(this), a);
  6. }
Add Comment
Please, Sign In to add comment