#[derive(Ord)]
std
Derive macro generating an impl of the trait Ord. The behavior of this macro is described in detail here.
Ord