Well it only supports sets for now but obviously we could add a GroupAttributeMixed flag which would indicate whether the resulting list should only contain grouped items or not.