See the mapping for GROUPING:
If there is a standard field, then MP3tag will not allow you to write it as a user-defined field.
AFAI see it, GROUPING is not available as standard field for MP4 files - so there you would get a user-defined field with the name GROUPING.