Using the above GTL code, if you add a group variable, how can you get the output clustered instead of…