The custom type has to implement IComparable as well as IComparable<T>. It seems the SortDescription uses the old fashioned non-generic version of CompareTo.
The custom type has to implement IComparable as well as IComparable<T>. It seems the SortDescription uses the old fashioned non-generic version of CompareTo.