Jim Palmer

Results 8 comments of Jim Palmer

Several others have forked/cloned and there are several NPM packages off of them such as https://www.npmjs.com/package/javascript-natural-sort setup by kylehousley pointing to the http://github.com/Bill4Time/javascript-natural-sort fork. None of the forks are up...

@tmcgann I would definitely accept PRs to make this possible. With quick searching I have seen a vast supply of forked and flat out copied versions up on the NPM....

@khous great! Thanks for jumping on this!

@khous great news, `overset` npm profile https://www.npmjs.com/~overset

Elements like `1.100` are implicitly coerced into floats so `['1.100', '1.10', '1.1']` are each interpreted as `1.1` when performing the sort comparison. In every browser but Chrome this will be...

@harisb - I posted a fix for your example in v0.8.1 ``` javascript >>> ['2.2 sec','1.9 sec','1.53 sec'].sort(naturalSort) ["1.53 sec", "1.9 sec", "2.2 sec"] ``` I kept the float inference...

@javve awesome - I've been wanting to add fixes to the original and validate against native `localeCompare()` if possible. If you are still seeing your component version being used it...

@javve I see you merged a few PRs that might help the upstream https://github.com/overset/javascript-natural-sort. Can let's dig in more on https://github.com/overset/javascript-natural-sort/issues/11 seeing if we the work on your repo merged...