# OrderByNode (/docs/core/reference/api/interfaces/OrderByNode)



[@kysoql/core](/docs/core/reference/api) / OrderByNode

Immutable query AST node for an ORDER BY clause.

## Properties [#properties]

| Property                              | Modifier   | Type                                                                                   | Description                                                      |
| ------------------------------------- | ---------- | -------------------------------------------------------------------------------------- | ---------------------------------------------------------------- |
| <a id="api-property-kind" /> `kind`   | `readonly` | `"OrderByNode"`                                                                        | Node discriminator used by Kysoql compilers and plugin visitors. |
| <a id="api-property-items" /> `items` | `readonly` | readonly [`OrderByItemNode`](/docs/core/reference/api/type-aliases/OrderByItemNode)\[] | Ordered child nodes contained by this clause.                    |
