Dictionary.com
Thesaurus.com

had been grouping

  • past perfect progressive
    of group.
    group
    noun
    any collection or assemblage of persons or things; cluster; aggregation.