Have found that CGRect isn’t hashable in Swift. Why is that?

Read Timsort and Introsort: Swift’s Sorting Algorithms.