3 ms·
Execute this in the page's scope. Works on Chrome at least. (function(){ var table = document.querySelector("table tbody tr+tr+tr td table tbody");
by akx 13y ago
Execute this in the page's scope. Works on Chrome at least.
(function(){
var table = document.querySelector("table tbody tr+tr+tr td table tbody");
[].slice.call(table.querySelectorAll("tr")).map(function(r){var c=r.querySelector("td:last-child");return [c?parseFloat(c.innerHTML):0,r]}).sort(function(a,b){return b[0]-a[0]}).forEach(function(r){table.appendChild(r[1])});
}());