overset/javascript-natural-sort — Issue #1: 1 - Sorting basic numeric values in Google Chrome fails 
Author: overset
Created: 2012-01-26 09:20:26+00:00
State: open

What steps will reproduce the problem?
1. Sort basic numeric values in google chrome (Mac)
2.
3.

What is the expected output? What do you see instead?
I added the following test:

wrapTest(
[10,1,900,1000,3,4],
[1,3,4,10,900,1000],
'basic numbers');

This was the outcome:
basic numbers - [ 10, 1, 900, 1000, 3, 4 ], expected: [ 1, 3, 4, 10, 900,
1000 ] result: [ 900, 1000, 1, 3, 4, 10 ]

It works in all the other browsers (IE7/8 - Safari 4 - Firefox 3.6) but not
in Chrome

What version of the product are you using? On what operating system?
r8 of
http://code.google.com/p/js-naturalsort/source/browse/trunk/naturalSort.js
Google Chrome 6.0.401.1, Mac OSX

Original link: http://code.google.com/p/js-naturalsort/issues/detail?id=1