It appears that `Key` has the same `Ord` instance as `Text` so I wonder what would be the issue with speeding up these two functions by using `unsafeCoerce`