Skip to main content

SortInput

A description of a field to sort a result set by. This is typically used in pagination fields to specify how the results should be ordered.

input SortInput {
desc: Boolean!
field: String!
}

Fields

SortInput.desc ● Boolean! non-null scalar

If true, the field will be sorted in descending order. If false, it will be sorted in ascending order.

SortInput.field ● String! non-null scalar

The name of the field to sort by.

Member Of

conventions_paginated query ● email_routes_paginated query ● users_paginated query