main: sort links by tq

This commit is contained in:
Milan Pässler 2016-02-18 16:48:35 +00:00
parent f354a6fbc7
commit 1cb22c45f5

View file

@ -108,6 +108,10 @@ function (moment, Router, L, GUI, numeral) {
}
})
links.sort( function (a, b) {
return a.tq - b.tq
})
return { now: now,
timestamp: moment.utc(dataNodes.timestamp).local(),
nodes: {