# Sorting using locales

**URL:** <https://forum.elixirforum.com/t/sorting-using-locales/3178>\
**Category:** Questions\
**Tags:** sorting\
**Created:** [January 7, 2017, 9:04pm UTC](https://forum.elixirforum.com/t/sorting-using-locales/3178 "2017-01-07T21:04:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![NobbZ](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/nobbz/32/27235_2.png) [@NobbZ](https://forum.elixirforum.com/u/NobbZ)\
**Post date:** [January 7, 2017, 9:51pm UTC](https://forum.elixirforum.com/t/sorting-using-locales/3178/2 "2017-01-07T21:51:43Z")

</div>

There is nothing like that in elixir, but you can use [`Enum.sort/2`](https://hexdocs.pm/elixir/Enum.html#sort/2) and define the sorting function as necessary by your collation.

---

_[View the full topic](https://forum.elixirforum.com/t/sorting-using-locales/3178)._
