In accordance to `group'` it should first sort the Array and then group it. Btw: Why not name it `sortAndGroup` or `sortGroup` or `groupSort` or anything more intuitive then `group'`? ^^