Added optgroup for relations done by groupby in contentypes.yml
Merge pull request #1921 from rarila/relations-groupby

groupby for relations