sort by balance then base_fee instead of points

This commit is contained in:
2026-07-05 19:20:03 -04:00
parent f0d4104834
commit e74259ef55

View File

@@ -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.points||0) - (a.points||0));
.sort((a, b) => (b.balance||0) - (a.balance||0) || (b.base_fee||0) - (a.base_fee||0));
}
function render() {