overset/javascript-natural-sort — Issue #2: 2 - Doesn't support undefined parameters 
Author: overset
Created: 2012-01-26 09:20:27+00:00
State: open

Fixed with
{{{
function naturalSort(a, b){
if (undefined === a && undefined === b) return 0;
if (undefined === b) return 1;
if (undefined === a) return -1;
...
}}}

Original link: http://code.google.com/p/js-naturalsort/issues/detail?id=2