Homepage

SortByFieldOrder

Last edit: Nov 10, 2026

Puts results with the given field values first, in the given order, followed by all other results

type SortByFieldOrder {
  field_name: String!
  values: [String]!
}

Fields

field_name (String)

Name of the field to sort by, e.g. "id"

values (String)

Field values in the desired order. With { field_name: "id", values: ["109", "903"] } the result with id 109 comes first, 903 second, then the rest

Questions?

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

contact us