API: Utilize option to sort by descending order in Ecto query
chrisbodhi opened this issue · comments
Currently uses Elixir code (in repo.ex) to sort the returned links from the Ecto query.
Possible answer: https://stackoverflow.com/a/55252324
Ecto docs: https://hexdocs.pm/ecto/Ecto.Query.html#order_by/3