Decision Workspace
lexical-sort vs lexicmp vs ordered-float
Side-by-side comparison of Rust crates
48
lexical-sort
growingv0.3.1
Sort Unicode strings lexically
50
lexicmp
growingv0.2.0
Library for comparing and sorting strings lexicographically and naturally
71
ordered-float
stablev5.3.0
Wrappers for total ordering on floats
Core Metrics
| lexical-sort | lexicmp | ordered-float | |
|---|---|---|---|
| Health Score | 48 | 50 | 71 |
| Total Downloads | 4.8M | 1.3M | 371.9M |
| 30d Downloads | 216.9K | 97.2K | 16.5M |
| Dependents | 313 | 481 | 14.5K |
| Releases | 6 | 2 | 58 |
| Last Updated | 2144d ago | 458d ago | 107d ago |
| Age | 6y 1m | 3y 3m | 11y 8m |
Health Breakdown
lexical-sort
Maintenance
3
Quality
12
Community
13
Popularity
8
Documentation
12
lexicmp
Maintenance
5
Quality
15
Community
13
Popularity
7
Documentation
10
ordered-float
Maintenance
12
Quality
19
Community
20
Popularity
8
Documentation
12
Technical Details
| lexical-sort | lexicmp | ordered-float | |
|---|---|---|---|
| Version | 0.3.1 | 0.2.0 | 5.3.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 5 | 1 | 14 |
| Crate Size | 64KB | 13KB | 35KB |
| Features | 2 | 0 | 15 |
| Yanked % | 16.7% | 0.0% | 5.2% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | — | 1.63 |
| Owners | 1 | 1 | 3 (team) |
Links
Quick Verdict
- •ordered-float leads with a health score of 71/100, but none of the options score above 80.
- •ordered-float is depended on by 14.5K crates — strongest ecosystem trust.
- •⚠ lexical-sort, lexicmp have not been updated in over a year.
- •lexical-sort, lexicmp are pre-1.0 — API may change.