js/table.js
/* Maps all possible weight values (not just numbers) to appropriate 
        values that can be numerically sorted. */
Maps all possible weight values (not just numbers) to appropriate
values that can be numerically sorted.
Maps all possible weight values ( not just numbers ) to appropriate values that can be numerically sorted .
function weightMap(weight) {
            if (weight == "N/A" && that.weightSortDown) {
                return Infinity;
            }
            else if (weight == "N/A" && !that.weightSortDown) {
                return -Infinity; 
            }
            else {
                return +weight;
            }
        }
function weightMap ( weight ) { if ( weight == "N/A" && that . weightSortDown ) { return Infinity ; } else if ( weight == "N/A" && ! that . weightSortDown ) { return - Infinity ; } else { return + weight ; } }
Maps all possible weight values (not just numbers) to appropriate
values that can be numerically sorted.
Maps all possible weight values ( not just numbers ) to appropriate values that can be numerically sorted .
//Put N/As at the bottom in either case