# SubscriptionSortField

Field to sort subscriptions by. Subscriptions with equal values are ordered by ID.

* `CREATED_AT` - When the subscription was created.
* `NEXT_PAYMENT_AT` - Scheduled time of the next payment. Canceled subscriptions and subscriptions without a next payment sort last in both directions.

```
enum SubscriptionSortField {

  CREATED_AT

  NEXT_PAYMENT_AT

}
```

### Values[​](#values "Direct link to Values")

#### [`SubscriptionSortField.CREATED_AT`](#created-at)[​](#created-at "Direct link to created-at")

#### [`SubscriptionSortField.NEXT_PAYMENT_AT`](#next-payment-at)[​](#next-payment-at "Direct link to next-payment-at")

### Member Of[​](#member-of "Direct link to Member Of")

[`SubscriptionSortInput`](https://docs.monei.com/apis/graphql/types/inputs/subscription-sort-input.md) input
