← All types
In Input object

ShiftDefinitionSortInput

One ordering term for listShiftDefinitions.

Fields

Which shift-definition attribute to order by.

Possible values (3)
NAME

Order by the shift's label, so the list reads alphabetically rather than by time of day.

START_TIME

Order by the stored 24-hour "HH:mm" start time, compared as text. That matches clock order within a day, but an overnight shift still sorts under the evening hour it starts at, not under the morning it ends in.

CREATED_AT

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

ASC for ascending, DESC for descending order.

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 listShiftDefinitions."""
input ShiftDefinitionSortInput {
  """Which shift-definition attribute to order by."""
  field: ShiftDefinitionSortField!
  """ASC for ascending, DESC for descending order."""
  direction: SortDirection!
}