Enable `clippy::derive_ord_xor_partial_ord` (#9371)

This PR enables the
[`clippy::derive_ord_xor_partial_ord`](https://rust-lang.github.io/rust-clippy/master/index.html#/derive_ord_xor_partial_ord)
rule and fixes the outstanding violations.

Release Notes:

- N/A
4939d23bd3Marshall Bowers committed on 3/14/2024, 9:55:57 PM· committed by GitHubparent35c9216
2 files changedLine totals unavailable