---
title: "SortQuery"
url: "https://nov18-dev.movespot.fyi/apis/konnect-runtime-groups-2/versions/e6adbeac-af7a-46c4-8ec2-409ae9f1a92f/schemas/SortQuery"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/konnect-runtime-groups-2/versions/e6adbeac-af7a-46c4-8ec2-409ae9f1a92f.md

# SortQuery

The `asc` suffix is optional as the default sort order is ascending. The `desc` suffix is used to specify a descending order. Multiple sort attributes may be provided via a comma separated list. JSONPath notation may be used to specify a sub-attribute (eg: 'foo.bar desc').

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Konnect Runtime Groups
  version: 2.0.0
servers:
  - url: https://us.api.konghq.com/v2
    description: United-States Production region
  - url: https://eu.api.konghq.com/v2
    description: Europe Production region
  - url: https://au.api.konghq.com/v2
    description: Australia Production region
  - url: https://me.api.konghq.com/v2
    description: Middle-East Production region
  - url: https://in.api.konghq.com/v2
    description: India Production region
  - url: https://sg.api.konghq.com/v2
    description: Singapore Production region
components:
  schemas:
    SortQuery:
      description: >
        The `asc` suffix is optional as the default sort order is ascending.

        The `desc` suffix is used to specify a descending order.

        Multiple sort attributes may be provided via a comma separated list.

        JSONPath notation may be used to specify a sub-attribute (eg: 'foo.bar
        desc').
      type: string
      example: created_at desc
      title: SortQuery
```
