just put groups within the group and use fit to width or max widths then the groups will stack like a masonary based on the widths. you’ll also want fit to height or max heights