Homepage

SortOrder

Last edit: Oct 13, 2026

Sort order for the deprecated customizations, listings and people queries.
Deprecated, use the sort argument of records or users

type SortOrder {
  child_field: SortByChildField
  distance: SortByDistance
  field: SortByFieldOrder
  name: String
  order: String
  profile_distance: SortByDistance
  profile_field: String
  profile_property: String
  profile_type: String
  property_name: String
}

Fields

child_field (SortByChildField)

Sorts by a field of a child document

distance (SortByDistance)

Sorts by distance from a point

field (SortByFieldOrder)

Puts results with the given field values first, in the given order

name (String)

Name of the field to sort by; a properties. prefix sorts by a property

order (String)

Sort direction: asc or desc

profile_distance (SortByDistance)

Sorts by distance from a point, using user profile addresses

profile_field (String)

User profile field to sort by; use the properties. prefix for a property, e.g. properties.color

profile_property (String)

User profile property to sort by

profile_type (String)

Name of the user profile type used by profile_field and profile_property

property_name (String)

Name of the property to sort by

Questions?

We are always happy to help with any questions you may have.

contact us