treat empty <td> as 0 instead of NaN when sorting, issue #106

Please review if I am doing this right, thanks!