Closed EdmondFrank closed 2 years ago
According to https://hexdocs.pm/elixir/Enum.html#sort_by/3-ascending-and-descending-since-v1-10-0
As in sort/2, avoid using the default sorting function to sort structs, as by default it performs structural comparison instead of a semantic one.
According to https://hexdocs.pm/elixir/Enum.html#sort_by/3-ascending-and-descending-since-v1-10-0
As in sort/2, avoid using the default sorting function to sort structs, as by default it performs structural comparison instead of a semantic one.