Read Timsort and Introsort: Swift's Sorting Algorithms Sep 5, 2019 Have found that CGRect isn’t hashable in Swift. Why is that? Read Timsort and Introsort: Swift’s Sorting Algorithms.