From cc8cf6c5f9bdf882593a036cc79cf47a31f7374a Mon Sep 17 00:00:00 2001 From: Jeena Date: Thu, 3 Jul 2014 20:35:12 +0200 Subject: [PATCH] sort maps in api --- app/Server/Api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Server/Api.js b/app/Server/Api.js index d452bd5..6d9bdf8 100644 --- a/app/Server/Api.js +++ b/app/Server/Api.js @@ -155,7 +155,7 @@ function (Nc, ProtocolHelper, validate, Options, Settings, FileSystem) { maps.push(fileinfo[0]); } }; - return maps; + return maps.sort(); }; return Api;