You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Treating numbers with a - sign before them as negative numbers is generally not a feature of natural sorting algorithms and I have no plans to include handling for negative numbers in this module (same goes for numbers with decimals). Implementing those features would require introducing heuristics which would work for some people, but break sorting for other people.
My recommendation is to handle sorting strings that are pure numbers separately, and then pass other strings to string-natural-compare.
Reference: javve/list.js#562 (comment)
The text was updated successfully, but these errors were encountered: