public static RubyArray /*!*/ Sort(RubyContext /*!*/ context, BlockParam block, RubyArray /*!*/ self) { RubyArray result = self.CreateInstance(); IListOps.Replace(context, result, self); return(SortInPlace(context, block, result)); }
public static object Sort(ComparisonStorage /*!*/ comparisonStorage, BlockParam block, RubyArray /*!*/ self) { RubyArray result = self.CreateInstance(); IListOps.Replace(result, self); return(SortInPlace(comparisonStorage, block, result)); }