added sorting to list of nodes and topics

This commit is contained in:
Glen Turner
2015-06-10 18:27:56 -04:00
parent a8a272919b
commit 93d9eb5bb9
5 changed files with 18 additions and 26 deletions

View File

@@ -38,6 +38,7 @@ function updateTopicsGUI()
{
topics = getTopics()
topics.sort();
if(topics != null){
var innerHTML = "";
for (var i = 0; i < topics.length; i++ )
@@ -54,6 +55,7 @@ function updateNodesGUI()
{
nodes = getNodes()
nodes.sort()
if(nodes != null){
var innerHTML = "";
for (var i = 0; i < nodes.length; i++ )