Options
All
  • Public
  • Public/Protected
  • All
Menu

Describes how to sort documents by a field.

Hierarchy

  • DocumentFieldSorter

Index

Properties

Optional descending

descending: boolean

Whether or not to sort the documents in descending order.

Optional displayName

displayName: string

The configured display name for this field sorter.

fields

fields: string[]

The document field names used to sort the documents by, in order of relevance.