I have this struct
pub struct Items {
pub symbol: String,
pub price: f64,
pub date: DateTime<Utc>,
}
I have a vector of these structs. I would like to sort them by date. How would I go about doing that? I tried deriving PartialEq, Ord, Eq, etc... but Rust complains about the float fields.