Represents a sort condition which will sort cells based on a custom, ordered list of values.

CustomListSortCondition

new CustomListSortCondition(sortDirection: SortDirection, list: string[]): CustomListSortCondition

Returns CustomListSortCondition

$t: Type

Gets the ordered list of values by which to sort.

get list(): IEnumerable$1<string>

Returns IEnumerable$1<string>

Inherited from: SortCondition

Gets the value which indicates the sort direction represented by the sort condition. Either SortDirection.Ascending or SortDirection.Descending.

get sortDirection(): SortDirection

Returns SortDirection

Determines whether the [[CustomListSortCondition]] is equal to the specified object.

equals(obj: any): boolean

Parameters

  • obj: any

    The object to test for equality.

Returns boolean

Gets the hash code for the [[CustomListSortCondition]].

getHashCode(): number

Returns number