← All types
ProductionIn Input object

CapabilitySortInput

One ordering term for listCapabilities. The first term selects the keyset column; any further terms act as tie-breakers.

Fields

Capability attribute to order by.

Possible values (3)
CODE

Order by the machine-readable capability code. Codes are restricted to uppercase letters, digits and underscores, so this is plain ASCII order with no case ambiguity.

NAME

Order by the human-readable capability name which, unlike CODE, is free text and so sorts in the database's collation order.

CREATED_AT

Order by when the capability row was created; the key the pagination walks when no sort term is given, newest first.

ASC for ascending, DESC for descending.

Possible values (2)
ASC

Sort in ascending order (A-Z, oldest first)

DESC

Sort in descending order (Z-A, newest first)

Referenced by (1)
Exact type SDL
"""
One ordering term for listCapabilities. The first term selects the keyset column; any further terms act as tie-breakers.
"""
input CapabilitySortInput {
  """Capability attribute to order by."""
  field: CapabilitySortField!
  """ASC for ascending, DESC for descending."""
  direction: SortDirection!
}