diff --git a/sorting/date-uk.js b/sorting/date-uk.js index 465ca89..903f988 100644 --- a/sorting/date-uk.js +++ b/sorting/date-uk.js @@ -20,7 +20,9 @@ jQuery.extend( jQuery.fn.dataTableExt.oSort, { "date-uk-pre": function ( a ) { - if (a == null || a == "") return 1; + if (a == null || a == "") { + return 0; + } var ukDatea = a.split('/'); return (ukDatea[2] + ukDatea[1] + ukDatea[0]) * 1; },