Full threadsuperjan·Bear in mind that comparing floating point NaNs is not transitive. IIRC, Rust considers floating point unsortable for that reason.View on HN