Grouping rows in DataGrid

How I can select a column header and group rows by columns in DataGrid?

Loader.
Up arrow icon