Decision Workspace
natlex_sort vs alphanumeric-sort vs compile_time_sort
Side-by-side comparison of Rust crates
41
natlex_sort
experimentalv0.1.0
Provides hybrid natural and lexicographical sorting for strings and byte slices, useful for sorting mixed lists of filenames and identifiers.
64
alphanumeric-sort
stablev1.5.5
This crate can help you sort order for files and folders whose names contain numerals.
61
compile_time_sort
stablev1.2.2
Sort arrays and slices of primitives in const contexts.
Core Metrics
| natlex_sort | alphanumeric-sort | compile_time_sort | |
|---|---|---|---|
| Health Score | 41 | 64 | 61 |
| Total Downloads | 1.4K | 5.1M | 19.6K |
| 30d Downloads | 78 | 344.5K | 67 |
| Dependents | 30 | 360 | 3 |
| Releases | 1 | 33 | 31 |
| Last Updated | 335d ago | 104d ago | 56d ago |
| Age | 11m | 7y 7m | 1y 3m |
Health Breakdown
natlex_sort
Maintenance
3
Quality
14
Community
10
Popularity
4
Documentation
10
alphanumeric-sort
Maintenance
13
Quality
18
Community
13
Popularity
8
Documentation
12
compile_time_sort
Maintenance
16
Quality
18
Community
8
Popularity
5
Documentation
14
Technical Details
| natlex_sort | alphanumeric-sort | compile_time_sort | |
|---|---|---|---|
| Version | 0.1.0 | 1.5.5 | 1.2.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MPL-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 1 | 1 | 4 |
| Crate Size | 11KB | 6KB | 11KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 15.2% | 0.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | — | 1.56 | 1.54.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •alphanumeric-sort leads with a health score of 64/100, but none of the options score above 80.
- •alphanumeric-sort is depended on by 360 crates — strongest ecosystem trust.
- •natlex_sort is pre-1.0 — API may change.