You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All Enum min/max functions (i.e. Enum.min, Enum.max and Enum.min_max_by) have an overload that takes a sorting function, allowing to sort structs with a compare method, like dates. However, Enum.min_max doesn't have an overload like that and doesn't allow a custom sort function.