Closed krugerk closed 4 weeks ago
Using .filter for increased legibility. And using .sorted(using:) to as a cleaner way to achieve the same result as the manual closure-based sorting, since the manual closure-based sort was only checking one keypath item anyway.
.filter
.sorted(using:)
Using
.filter
for increased legibility. And using.sorted(using:)
to as a cleaner way to achieve the same result as the manual closure-based sorting, since the manual closure-based sort was only checking one keypath item anyway.