I have a class called Order which has properties such as OrderId, OrderDate, Quantity, and Total. I have a l
Order
OrderId
OrderDate
Quantity
Total
Anybody working with nullable types, Value is required to use CompareTo.
Value
CompareTo
objListOrder.Sort((x, y) => x.YourNullableType.Value.CompareTo(y.YourNullableType.Value));