f64 doesn't implement TotalOrder, so use sort_by()
Fix crate_id typo by the way.