From c9749bfed1f39a3591e418dc9768ce6afcf8c084 Mon Sep 17 00:00:00 2001 From: svatantrya Date: Fri, 10 Jul 2026 10:16:43 -0400 Subject: [PATCH] change sort order: height desc, points desc, wins desc, fee asc, version desc --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {