← API reference
CANONICAL TYPE REFERENCE

SortDirection

Direction for sorting query results

ASC

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

DESC

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

View exact SDL
"""Direction for sorting query results"""
enum SortDirection {
  """Sort in ascending order (A-Z, oldest first)"""
  ASC
  """Sort in descending order (Z-A, newest first)"""
  DESC
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.