fix sorting on numeric columns

Addressing two issues with sorting columns containing numeric values: 

1. javascript error when trying to sort -- TypeError: Object 3.45 has no method 'toLowerCase'
2. separate out blanks from 0's