Perhaps, this is a typo and 'attrY' variable should be used instead of 'attrX' AbstractSortByComparableValueAttribute.cs 94 if (attrX!= null) { valX = (T?
)aspectX.GetAttributeValue(attrX); } if (attrY!= null) { valX = (T?