README
Constants
- sortByName ⇒
Array
sort the objects by the name field
- sortByDate ⇒
Array
sort the objects by the field specified that needs to be a date type
- sortByField ⇒
Array
sort the objects by the field specified
Array
sortByName ⇒ sort the objects by the name field
Kind: global constant
Returns: Array
- of objects sorted by name
Param | Type | Description |
---|---|---|
source | Array |
the source array.. |
Array
sortByDate ⇒ sort the objects by the field specified that needs to be a date type
Kind: global constant
Returns: Array
- of objects sorted by date
Param | Type | Description |
---|---|---|
source | Array |
the source array.. |
sortField | Array |
the date field |
Array
sortByField ⇒ sort the objects by the field specified
Kind: global constant
Returns: Array
- of objects sorted by date
Param | Type | Description |
---|---|---|
source | Array |
the source array.. |
sortField | Array |
the field to sort by |