Issue #22087:add ability to build item group trees