Skip to content
Snippets Groups Projects
Commit bcd7d994 authored by David Bauer's avatar David Bauer Committed by codedust
Browse files

sort searchlist alphabetically

parent 3fe9ff1a
Branches
No related tags found
No related merge requests found
......@@ -527,6 +527,12 @@ var firmwarewizard = function() {
modelList.push([searchingstring, searchingstring, vendors[i], models[j], '']);
}
}
// Sort the reulting list alphabetically
modelList = modelList.sort(function(a, b) {
return a[0] > b[1] ? 1 : -1;
});
return modelList;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment