# Ordering

Specify the default order for objects returned from a query. These options correspond to the `@OrderBy` annotation.

Property | Description | Default | Available for Entity Type
--- | --- | --- | ---
Name |  |  | Element collection mapping, Many-to-many mapping, and One-to-many mapping
Primary key |  |  |
Custom |  |  |
Order column |  |  |
Insertable | Specify if the column is included in SQL `INSERT` statements | True |
Updatable | Specify if the column is included in SQL `UPDATE` statements | True |
Nullable | Specify if the database column is nullable | True |
Column definition | The SQL fragment that used to generate the DDL for the column | Generated SQL to create a column of the inferred type |