Ecto.Sort is a simple module which provides a macro for explicitly applying ecto order_by expressions.
If available in Hex, the package can be installed
by adding ecto_sort
to your list of dependencies in mix.exs
:
def deps do
[
{:ecto_sort, "~> 0.0.1"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/ecto_sort.