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
Not working in case of %w(a b 1 3 1.3).natural_sort results in ["1.3", "1", "3", "a", "b"]
%w(a b 1 3 1.3).natural_sort
["1.3", "1", "3", "a", "b"]
But it is working for ["a", "b", "1", "3", "1.3", "a 1 b 10", "a 1 b 2"] . This input results in ["1", "1.3", "3", "a", "a 1 b 2", "a 1 b 10", "b"]
["a", "b", "1", "3", "1.3", "a 1 b 10", "a 1 b 2"]
["1", "1.3", "3", "a", "a 1 b 2", "a 1 b 10", "b"]
Would like to know if there is a way to archive natural sorting for decimal numbers or is it an issue.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Not working in case of
%w(a b 1 3 1.3).natural_sort
results in["1.3", "1", "3", "a", "b"]
But it is working for
["a", "b", "1", "3", "1.3", "a 1 b 10", "a 1 b 2"]
. This input results in["1", "1.3", "3", "a", "a 1 b 2", "a 1 b 10", "b"]
Would like to know if there is a way to archive natural sorting for decimal numbers or is it an issue.
The text was updated successfully, but these errors were encountered: