[]
        
(Showing Draft Content)

C1.Web.Mvc.Olap.PivotFieldBase.SortComparer

SortComparer Property

SortComparer

Gets or sets a function used to compare values when sorting.

Declaration
[JsonConverter(typeof(FunctionConverter))]
public string SortComparer { get; set; }
Remarks

If provided, the sort comparer function should take as parameters two values of any type, and should return -1, 0, or +1 to indicate whether the first value is smaller than, equal to, or greater than the second. If the sort comparer returns null, the standard built-in comparer is used.