Skip to content

Conversation

@EdmondFrank
Copy link
Contributor

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.

@redrabbit redrabbit merged commit 6094355 into redrabbit:master Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants