Agent records can be sorted in the same way as with objectsObjects (API) The dataset containing all objects held within the Cooper Hewitt's online collection

{
  agent(sort:[{id: "asc"}]){
       id
       name
  }
}

The fieldsFields (Computer Science) The smallest container of information in a database. A field is named, e.g. "Title" or "Date" and each record contains a group of fields. that can be searched for are:

birthBirth 
(API) The date of birth for an agent

death
id
name

Multiple sortingSorting (Computer Science) An argument of a query that determines the order of records in a result argumentsArguments (Computer Science) Individual elements of information contained within a query, often structured as name / value pairs, e.g. title="chair" can be requested at the same time:

{
  agent(sort: [{surename: "asc"},{forename: "asc"}]) {
    id
    name
    birth
  }
}

Sorting can be combined with searching:

{
  agent(name:"Rob", sort:[{surename: "desc"}]) {
    name
    birth
  }
}