Functions to be used in {@link Array.prototype.sort} as a callback. Sorts array in ascending order by values provided from callbacks. First callback has highest priority in sorting and so on. It accepts as many callbacks as You need.
functions to get values to be compared
a closure that can be used in array.sort() function
Functions to be used in {@link Array.prototype.sort} as a callback. Sorts array in ascending order by values resolved from object keys passed as parameter. First key has highest priority in sorting and so on. It accepts as many keys as You need.
functions to get values to be compared
a closure that can be used in array.sort() function
Functions to be used in {@link Array.prototype.sort} as a callback. Function that will sort items in array with custom values, by provided order. It accepts as a parameter object with valueToOrderElement mapper and array of custom order rule
comparator for Array.prototype.sort function.
Functions to be used in {@link Array.prototype.sort} as a callback. Function that will sort items in array with custom values, by provided order.
object key to extract value. This value will be compared to another
values that will be define order of extracted value by key
comparator for Array.prototype.sort function.
Functions to be used in {@link Array.prototype.sort} as a callback. * Sorts array in descending order by values provided from callbacks. First callback has highest priority in sorting and so on. It accepts as many callbacks as You need.
functions to get values to be compared
a closure that can be used in array.sort() function
Functions to be used in {@link Array.prototype.sort} as a callback. Sorts array in descending order by values resolved from object keys passed as parameter. First key has highest priority in sorting and so on. It accepts as many keys as You need.
functions to get values to be compared
a closure that can be used in array.sort() function
Functions to be used in {@link Array.prototype.sort} as a callback. Function that will sort items in array, by provided order. It accepts as a parameter array of custom order rule. Element, that are not present in order array will be at he the end of the sorted list.
array of custom order of items that are being sorted.
comparator for Array.prototype.sort function.
Generated using TypeDoc
Functions to be used in {@link Array.prototype.sort} as a callback.
https://pavel-surinin.github.io/declarativejs/#/?id=sorters