# Types / Ordering

# Ordering

**Scalar**
## Ordering

The `Ordering` scalar type is not really a scalar but an object which contains two keys, `sort` and `direction`. The value of `sort` is a string which corresponds to a sortable field name (these can be found on each connection's documentation). The value of `direction` is either `asc` or `desc` and determines the direction of sorting (either ascending or descending respectively).