Sort arrays using comparison operators as closures

You need to purchase the book to read this tip.WWDC 2025 offer is active now: 30% off!Learn more about the bookAlready have a copy? Request access.