|
|
|
|
|
|
102
|
}
|
102
|
}
|
|
103
|
if (itm == "") return;
|
103
|
if (itm == "") return;
|
|
104
|
sortfn = ts_sort_caseinsensitive;
|
104
|
sortfn = ts_sort_caseinsensitive;
|
|
105
|
- if (itm.match(/^\d\d[\/\.-][a-zA-z][a-zA-Z][a-zA-Z][\/\.-]\d\d\d\d$/)) sortfn = ts_sort_date;
|
|
|
|
|
|
105
|
+ if (itm.match(/^\d\d[\/\.-][a-zA-Z][a-zA-Z][a-zA-Z][\/\.-]\d\d\d\d$/)) sortfn = ts_sort_date;
|
|
106
|
if (itm.match(/^\d\d[\/\.-]\d\d[\/\.-]\d\d\d{2}?$/)) sortfn = ts_sort_date;
|
106
|
if (itm.match(/^\d\d[\/\.-]\d\d[\/\.-]\d\d\d{2}?$/)) sortfn = ts_sort_date;
|
|
107
|
if (itm.match(/^-?[£$€Û¢´]\d/)) sortfn = ts_sort_numeric;
|
107
|
if (itm.match(/^-?[£$€Û¢´]\d/)) sortfn = ts_sort_numeric;
|
|
108
|
// ignore stuff in () after the numbers.
|
108
|
// ignore stuff in () after the numbers.
|