implement `Eq` and `Ord` for `Arc`