Fix inverted channel list sorting

This commit is contained in:
Simon Ser
2020-08-04 13:47:27 +02:00
parent 0157dd4cc6
commit b37dfb77fe

View File

@@ -72,10 +72,10 @@ function compareBuffers(a, b) {
return 1; return 1;
} }
if (a.name > b.name) { if (a.name < b.name) {
return -1; return -1;
} }
if (a.name < b.name) { if (a.name > b.name) {
return 1; return 1;
} }