Map Sorting

Great idea! I missed this topic but I think min(by:) max(by:) methods can also be applied, and I wrote about this idea here:

From my perspective max and min needs this method even more than sort, because it's really unclear what { $0.age < $1.age } means to min or max.

1 Like