Represents an ordered sort condition, which can sort data in either an ascending or descending manner.

OrderedSortCondition

new OrderedSortCondition(): OrderedSortCondition

Returns OrderedSortCondition

$t: Type

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

Inherited from: SortCondition

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

equals(obj: any): boolean

Parameters

  • obj: any

    The object to test for equality.

Returns boolean

Inherited from: SortCondition

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

getHashCode(): number

Returns number