Add `#[pyclass(ord)]` to implement ordering based on `PartialOrd`.