All Components

SortDescriptor

The sort descriptor used by the orderBy method.

It has the following properties:

dir "asc" | "desc"

The sort direction.

The available values are:

  • asc
  • desc

field string

The field that is sorted.

In this article