Google Sheets

gs_sort_range

Sort a range of data by a specific column. Uses 0-based indices for the range and sort column.

Remote node2flow/google-sheets

Other tools also called gs_sort_range? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "sheet_id": {
      "type": "number",
      "description": "The numeric sheet ID"
    },
    "sort_order": {
      "type": "string",
      "description": "Sort direction: \"ASCENDING\" (default) or \"DESCENDING\""
    },
    "end_row_index": {
      "type": "number",
      "description": "End row of data range (0-based exclusive)"
    },
    "spreadsheet_id": {
      "type": "string",
      "description": "The spreadsheet ID"
    },
    "start_row_index": {
      "type": "number",
      "description": "Start row of data range (0-based inclusive)"
    },
    "end_column_index": {
      "type": "number",
      "description": "End column of data range (0-based exclusive)"
    },
    "sort_column_index": {
      "type": "number",
      "description": "Column to sort by (0-based, e.g. 0 = column A)"
    },
    "start_column_index": {
      "type": "number",
      "description": "Start column of data range (0-based inclusive)"
    }
  }
}