From 2fbfe6664d02b76e54ef037af2722fa8648210e6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Marchal?= Date: Mon, 4 Jul 2011 11:55:27 +0000 Subject: [PATCH] Use locale aware comparison when sorting tables --- sorttable/sorttable.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sorttable/sorttable.js b/sorttable/sorttable.js index 2a10471..837c56c 100644 --- a/sorttable/sorttable.js +++ b/sorttable/sorttable.js @@ -264,9 +264,7 @@ sorttable = { return aa-bb; }, sort_alpha: function(a,b) { - if (a[0]==b[0]) return 0; - if (a[0]