In the html below the last column is being sorted as a string, but I need it to be sorted as decimal. I can seem to find the docs to achive that. The Javascript is from https://github.com/wenzhixin/bootstrap-table
<table id="table" data-toggle="table" data-search="true" data-show-columns="true" class="table table-striped">
<thead>
<tr>
<th data-sortable="true">Account</th>
<th data-sortable="true">1-30</th>
<th data-sortable="true">30+</th>
<th data-sortable="true">60+</th>
<th data-sortable="true">90+</th>
<th data-sortable="true">Unit Total</th>
<th data-sortable="true">Total</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="#">st0121</a></td>
<td>700.00</td>
<td>0.00</td>
<td>0.00</td>
<td>0.00</td>
<td>200.00</td>
<td>920.00</td>
</tr>
<tr>
<td><a href="#">st0122</a></td>
<td>1,200.00</td>
<td>0.00</td>
<td>0.00</td>
<td>8,000.00</td>
<td>0.00</td>
<td>9,200.00</td>
</tr>
<tr>
<td><a href="#">st0123</a></td>
<td>0.00</td>
<td>0.00</td>
<td>0.00</td>
<td>0.00</td>
<td>0.00</td>
<td>200.00</td>
</tr>
<tr>
<td><a href="#">st0124</a></td>
<td>160.00</td>
<td>0.00</td>
<td>0.00</td>
<td>0.00</td>
<td>160.00</td>
<td>360.00</td>
</tr>
<tr>
<td><a href="#">st0125</a></td>
<td>40.00</td>
<td>0.00</td>
<td>0.00</td>
<td>0.00</td>
<td>40.00</td>
<td>400.00</td>
</tr>
<tr>
<td><a href="#">st0126</a></td>
<td>80.00</td>
<td>0.00</td>
<td>0.00</td>
<td>0.00</td>
<td>80.00</td>
<td>480.00</td>
</tr>
</tbody>
</table>
The fiddle is https://jsfiddle.net/cmzua2ph/3/
Any ideas/suggestions?
I am also surprised that there is no need for the .ready() initialization. How is that achieved?
OK, I think I am ready for downvotes. :-)