From 76232ca573e1ca90884f9398b908891f439f2282 Mon Sep 17 00:00:00 2001 From: Marcin Date: Wed, 3 Sep 2014 18:41:45 +0200 Subject: [PATCH] change sorting order --- gui/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/app.js b/gui/app.js index b98e43991..26864be4e 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) {