Param | Type | Details |
---|---|---|
results | mixed | Array of results from response |
dateField | string | Result field to use for ordering |
oldestFirst | boolean | If true the results will be order from oldest to newest |
mixed | Sorted array of results |
Param | Type | Details |
---|---|---|
results | mixed | Sorted array of results |
dateField | string | Result field to use for ordering |
groupBy | string | Optionally specify how to group the results, by default it tries to get the best fit |
mixed | Array of grouped results |