diff --git a/components/app.js b/components/app.js index b1e4da9..328e68b 100644 --- a/components/app.js +++ b/components/app.js @@ -69,6 +69,13 @@ function debounce(f, delay) { } function compareBuffers(a, b) { + if (a.network < b.network) { + return -1; + } + if (a.network > b.network) { + return 1; + } + if (a.type == BufferType.SERVER) { return -1; }