Constructors
constructor
- new Sort(): Sort
Properties
dates
dates: string[] = []
Methods
getLastSort
- getLastSort(): SortArgument[]
getOrderBy
- getOrderBy(): SortArgument[]
overrideSort
- overrideSort(array): void
Returns void
reset
- reset(defaultSortAttribute?): void
Parameters
Optional
defaultSortAttribute: string
Returns void
runOrderBy
- runOrderBy(array): void
Returns void
setDateAttribute
- setDateAttribute(dates?): void
Returns void
setLocaleCompare
- setLocaleCompare(code, options?): void
Parameters
- code: string
Optional
options: any
Returns void
setOrderBy
- setOrderBy(param, add?): void
Returns void