TableSorter: Sort unrecognized dates as -Infinity
[lhc/web/wiklou.git] / resources / src / jquery / jquery.tablesorter.js
index 922da31..ecd376a 100644 (file)
                                match = s.match( ts.rgx.isoDate[ 1 ] );
                        }
                        if ( !match ) {
-                               return 0;
+                               return -Infinity;
                        }
                        // Month and day
                        for ( i = 2; i <= 4; i += 2 ) {