# Payment Sort Clauses

Payment Sort Clauses are only supported by [Payment Search (`PaymentServiceInterface::findPayments`)](https://doc.ibexa.co/en/latest/commerce/payment/payment_api/#get-multiple-payments).

By using Sort Clauses you can sort payments by specific attributes, for example: creation date, status, and more.

| Sort Clause                                                                                                       | Sorting based on                              |
| ----------------------------------------------------------------------------------------------------------------- | --------------------------------------------- |
| [Id](https://doc.ibexa.co/en/latest/search/sort_clause_reference/payment_id_sort_clause/index.md)                 | Payment ID                                    |
| [Identifier](https://doc.ibexa.co/en/latest/search/sort_clause_reference/payment_identifier_sort_clause/index.md) | Payment identifier                            |
| [CreatedAt](https://doc.ibexa.co/en/latest/search/sort_clause_reference/payment_createdat_sort_clause/index.md)   | Date and time when payment was created        |
| [UpdatedAt](https://doc.ibexa.co/en/latest/search/sort_clause_reference/payment_updatedat_sort_clause/index.md)   | Date and time when payment status was updated |
| [Status](https://doc.ibexa.co/en/latest/search/sort_clause_reference/payment_status_sort_clause/index.md)         | Payment status                                |
