npm install
npm test
- group a collection by the group property specified
- split each main group by the temporal attribute specified
- sort each element inside the related group according to the sorting attributes specified
let groupAndTemporalSortCollection = groupAndTemporalSort(
{collection:testData,unit:temporalUnit.MINUTE,temporalOrder:sortOrder.descending,
temporalPropertyName:"date",groupPropertyName:"group-1",groupOrder:sortOrder.ascending}
);