Group an array of objects by a property in the objects
Array of objects
Function which accepts an object and returns a property from it
Group an array of objects by a property in the objects