herteby
Re:A list of companies using Elm in production
on Wednesday February 05, 2020 @01:28PM (#22249651)
You can either write a comparison function that returns an Order, or a function that converts your type to a comparable. Then you use List.sortBy or List.sortWith.
I don't really know how a generic sort function would work without typeclasses/interfaces.