groupBy package:ListLike

Generic version of group.