correctly sort numeric columns description

it will try to convert as float any columns description, if only one
fails it uses the default string sorting (that was already there),
otherwise it will sort descriptions as numbers so:
string sorting: 11 < 2
number sorting: 2 < 11

p.s.
sorry if i made the changes only for js but i'm not into coffee