Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Numerical sorting now treats non-integer numbers as f64.
To fix an issue where xsv would not sort non-integers properly, this commit makes xsv able to consider non-integers as f64. For integers, we still compare using i64 v i64, while we treat any other number as f64 vs. f64 comparsion.
- Loading branch information
1 parent
dbddb10
commit 4b308ad
Showing
2 changed files
with
63 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters