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
sortByName ⇒ Array
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.. |
sortByDate ⇒ Array
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 |
sortByField ⇒ Array
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 |