Page MenuHomePhabricator

error sorting of numbers in table using JavaScript
Closed, ResolvedPublic

Description

There is an error sorting numbers in tables using JavaScript. For example, see
table on http://meta.wikimedia.org/wiki/Localization_statistics and sort it by
percentages. You will see that it sorts by first digit, neglect the fact that
there are some simple and some binomial numbers (I'm not sure I wrote this
right, I did my best).

Example: it sorts 91.35%, 91.35%, 9.73%, 9.39%, 89.38%, etc.


Version: unspecified
Severity: normal
Platform: PC
URL: http://www.kryogenix.org/code/browser/sorttable/

Details

Reference
bz8275

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:31 PM
bzimport set Reference to bz8275.
bzimport added a subscriber: Unknown Object (MLST).

ayg wrote:

*** This bug has been marked as a duplicate of 8155 ***