Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SortOptions

import type { SortOptions } from "https://googleapis.deno.dev/v1/cloudsearch:v1.ts";
interface SortOptions {
operatorName?: string;
sortOrder?: "ASCENDING" | "DESCENDING";
}

§Properties

§
operatorName?: string
[src]

The name of the operator corresponding to the field to sort on. The corresponding property must be marked as sortable.

§
sortOrder?: "ASCENDING" | "DESCENDING"
[src]

Ascending is the default sort order