/// <summary> /// Sorts the members of this PropertyDescriptorCollection using the specified IComparer. /// </summary> protected void InternalSort(IComparer sorter) { if (sorter == null) { TypeDescriptor.SortDescriptorArray(this); } else { Array.Sort(_properties, sorter); } }