The Float trait used by sort_floats has been move to then num crate, which depends on std. I don't want this, and don't use any functionality related to std.
I'm not sure what the best solution is. Writing my own Float will solve the immediate issue (being able to sort &[f64]/&[f32], but will hurt interoperability in generic code.