{
  "name": "GridSortApi",
  "description": "The sort API interface that is available in the grid apiRef.",
  "properties": [
    {
      "name": "applySorting",
      "description": "Applies the current sort model to the rows.",
      "type": "() => void"
    },
    {
      "name": "getRowIdFromRowIndex",
      "description": "Gets the <code>GridRowId</code> of a row at a specific index. The index is based on the sorted but unfiltered row list.",
      "type": "(index: number) => GridRowId"
    },
    {
      "name": "getSortedRowIds",
      "description": "Returns all row ids sorted according to the active sort model.",
      "type": "() => GridRowId[]"
    },
    {
      "name": "getSortedRows",
      "description": "Returns all rows sorted according to the active sort model.",
      "type": "() => GridRowModel[]"
    },
    {
      "name": "getSortModel",
      "description": "Returns the sort model currently applied to the grid.",
      "type": "() => GridSortModel"
    },
    {
      "name": "setSortModel",
      "description": "Updates the sort model and triggers the sorting of rows.",
      "type": "(model: GridSortModel) => void"
    },
    {
      "name": "sortColumn",
      "description": "Sorts a column.",
      "type": "(field: GridColDef['field'], direction?: GridSortDirection, allowMultipleSorting?: boolean) => void"
    }
  ]
}
