Sort array pipe
This is currently used with the pin feature of the list component
Example:
Sort array by property
Array to sort
Property name to sort by
True to sort descending
Returns sorted array
Generated using TypeDoc
Sort array pipe
This is currently used with the pin feature of the list component
Example:
Hierarchy
Implements
Index
Methods
Methods
transform
Sort array by property
Parameters
arr: Array<any>
Array to sort
prop: any
Property name to sort by
Default value descending: boolean = false
True to sort descending
Returns any
Returns sorted array