The current table comparator does not work if one of the element is the 0 because of #2012.
In general the current comparator is less robust than it could be so I just re-wrote it from scratch.
I'm also piggybacking a small fix to the getObjectAttribute function.
The current table comparator does not work if one of the element is the
0
because of #2012. In general the current comparator is less robust than it could be so I just re-wrote it from scratch.I'm also piggybacking a small fix to the
getObjectAttribute
function.See https://jsfiddle.net/tb6swf5g/13 for a live example of this new comparator.