System.Windows.Forms.ComboBox.ObjectCollection.Sort C# (CSharp) Method

Sort() private method

private Sort ( ) : void
return void
			internal void Sort ()
			{
				// If the objects the user put here don't have their own comparer,
				// use one that compares based on the object's ToString
				if (object_items.Count > 0 && object_items[0] is IComparer)
					object_items.Sort ();
				else
					object_items.Sort (new ObjectComparer (owner));
			}