diff options
author | Marcin <dziadus.marcin@gmail.com> | 2014-09-03 18:41:45 +0200 |
---|---|---|
committer | Marcin <dziadus.marcin@gmail.com> | 2014-09-03 18:41:45 +0200 |
commit | 76232ca573e1ca90884f9398b908891f439f2282 (patch) | |
tree | 0c6a61e76e4609244335da7a7f734c981b00b9e2 | |
parent | 5235e82bdaf31d29059ca9823b8726931676b2aa (diff) |
change sorting order
-rw-r--r-- | gui/app.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/app.js b/gui/app.js index b98e43991b..26864be4ea 100644 --- a/gui/app.js +++ b/gui/app.js @@ -906,10 +906,10 @@ function nodeCompare(a, b) { } function repoCompare(a, b) { - if (a.Directory < b.Directory) { + if (a.ID < b.ID) { return -1; } - return a.Directory > b.Directory; + return a.ID > b.ID; } function repoMap(l) { |