The members of System.IComparable<T> are listed below.
CompareTo(T) : intReturns the sort order of the current instance compared to the specified object.
Returns the sort order of the current instance compared to the specified object.