protected void InternalSort(IComparer sorter) { if (sorter == null) { TypeDescriptor.SortDescriptorArray(this); } else { Array.Sort(events, sorter); } }
public virtual EventDescriptorCollection Sort(IComparer comparer) { EventDescriptorCollection col = CloneCollection(); col.InternalSort(comparer); return(col); }