I am trying to transform an array of objects to a \'grouped\' and sorted output array in JavaScript, preferably the ES6-way (e.g. using .map, .reduce, ...).
Summary:<