list array/groupBy on the array package