We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IP addresses currently sort the first chunk as a float.
This bug leads, for example, 192.200.2.3 to sorts before 192.42.2.3, instead of after it.
192.200.2.3
192.42.2.3
/* Version: 0.8.1 */ ['192.200.2.3','192.42.2.3','192.3.2.1'].sort(naturalSort) // actual> ["192.200.2.3", "192.3.2.1", "192.42.2.3"] // expected> ["192.3.2.1", "192.42.2.3", "192.200.2.3"]
I ran into this when trying out this module as sorting algorithm for Wikipedia's tablesorter code, but it failed out unit tests.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
IP addresses currently sort the first chunk as a float.
This bug leads, for example,
192.200.2.3
to sorts before192.42.2.3
, instead of after it.I ran into this when trying out this module as sorting algorithm for Wikipedia's tablesorter code, but it failed out unit tests.
The text was updated successfully, but these errors were encountered: