Sort buffers by network

This commit is contained in:
Simon Ser 2021-01-22 10:37:58 +01:00
parent 002b91a599
commit d2ff88d946

View File

@ -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;
}