Google Sheets · Schema

SortSpec

A sort order associated with a specific column or row.

Google WorkspaceProductivitySpreadsheets

Properties

Name Type Description
dimensionIndex integer The dimension the sort should be applied to.
sortOrder string The order data should be sorted.
View JSON Schema on GitHub

JSON Schema

google-sheets-sort-spec-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "SortSpec",
  "type": "object",
  "description": "A sort order associated with a specific column or row.",
  "properties": {
    "dimensionIndex": {
      "type": "integer",
      "description": "The dimension the sort should be applied to."
    },
    "sortOrder": {
      "type": "string",
      "description": "The order data should be sorted."
    }
  }
}