Sort backups by creationTime

This commit is contained in:
Johannes Zellner
2015-12-30 18:31:44 +01:00
parent 128a138e74
commit 41c597801f

View File

@@ -64,6 +64,8 @@ function getAllPaged(backupConfig, page, perPage, callback) {
};
});
results.sort(function (a, b) { return a.creationTime < b.creationTime; });
return callback(null, results);
});
});