diff --git a/index.html b/index.html index 40f0993..443198a 100644 --- a/index.html +++ b/index.html @@ -371,7 +371,7 @@ function getFiltered() { return allServers .filter(d => withTor ? true : !d.onion) .filter(d => (d.url + " " + (d.info||"")).toLowerCase().includes(q.toLowerCase())) - .sort((a, b) => (b.balance||0) - (a.balance||0) || (a.base_fee||0) - (b.base_fee||0) || (b.points||0) - (a.points||0)); + .sort((a, b) => (b.last_block||0) - (a.last_block||0) || (b.points||0) - (a.points||0) || (b.count_win||0) - (a.count_win||0) || (a.base_fee||0) - (b.base_fee||0) || (b.version||'').localeCompare(a.version||'')); } function render() {