public int Compare(object x, object y) { return (x as PropertyDescriptor).DisplayName.CompareTo ((y as PropertyDescriptor).DisplayName); }