elm-sortable-table
elm-sortable-table copied to clipboard
Custom Sorters
I ran into an issue where I have a list of Maybe Int
s that I need to sort in a particular way: All Nothing
s should come at the top, and the rest should be sorted as normal.
It would be great if there was a variation of the sorters that used List.sortWith
instead of List.sortBy
so one could provide an (a -> a -> Order)
to sort the table