<DataGrid
  {...data}
  loading={loading}
  initialState={{
    ...data.initialState,
    sorting: {
      ...data.initialState?.sorting,
      sortModel: [
        {
          field: 'rating',
          sort: 'desc',
        },
      ],
    },
  }}
/>