ProjectionsSchemaField
@sortable
Use the @sortable to enable sorting on a field.
This directive requires the @searchable directive to be enabled on the projection.
@searchable
Example
type User @upsertOn(...) @searchable {
name: String! @sortable
}In this case, the name field will be available for sorting via typesense.