README.md
# EctoOrderable
Order records in your database with Ecto.
Use with [`@phx-hook/sortable`](https://github.com/elixir-saas/phx-hook/tree/main/packages/sortable) for easy drag-and-drop ordering in LiveView.
## Installation
Install by adding `ecto_orderable` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:ecto_orderable, "~> 0.1.0"}
]
end
```
Full documentation at <https://hexdocs.pm/ecto_orderable>.
Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at <https://hexdocs.pm/ecto_orderable>.