# `JSONAPIPlug.QueryParser.Ecto.Sort`
[🔗](https://github.com/lucacorti/jsonapi_plug/blob/main/lib/jsonapi_plug/query_parser/ecto/sort.ex#L1)

JSON:API 'sort' query parameter parser implementation for Ecto

Expects sort parameters to be in the *recommended* [JSON:API sort](https://jsonapi.org/format/#fetching-sorting)
format and converts them to Ecto `order_by` format for ease of use.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
