/// <summary> /// Returns the SortItem describing the same sorting with toggled direction. /// </summary> public SortingItem <TItem> WithToggledSortDirection() { return(new SortingItem <TItem>(SortString, SortKeySelector, SortDirection.Reverse(), SortDefaultOrder)); }