rem: sorted: function (iterable, /* optional */cmp) { /***  Return a sorted array from iterable  ***/ var rval = MochiKit.Iter.list(iterable); if (arguments.length == 1) { cmp = MochiKit.Base.compare; } rval.sort(cmp); return rval; }, 
add: },sorted:function(_167,cmp){ var rval=MochiKit.Iter.list(_167); if(arguments.length==1){ cmp=MochiKit.Base.compare; } rval.sort(cmp); return rval; },reversed:function(_168){ 
context:     sorted: function (iterable, /* optional */cmp) {        /***            Return a sorted array from iterable        ***/        var rval = MochiKit.Iter.list(iterable);        if (arguments.length == 1) {            cmp = MochiKit.Base.compare;        }        rval.sort(cmp);        return rval;    },
meta: 8607	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8607/ad067b3f5d648d6df90ec6fb2b79f0027612a307/MochiKit.js/buggy/trunk/lib/MochiKit.js