Hacker News new | ask | show | jobs
by bendiksolheim 2457 days ago
This is doable with some JavaScript. Paste the JavaScript from this gist [1] in your console while on the web page, and the table will be sorted descending by year. Swap `bValue - aValue` on line 4 with `aValue - bValue` to sort ascending.

[1] - https://gist.github.com/bendiksolheim/307a6af9aba2c4360c75b9...

1 comments

It breaks/stops at rows with blank "appeared".
Floop

document.querySelector('tbody').append(...Array.from(document.querySelector('tbody').rows).map(row => ({ row, year: parseInt(row.cells[2].textContent) || 9000 })).sort((a, b) => a.year < b.year ? -1 : a.year > b.year ? 1 : 0).map(x => x.row))