Group products into item groups