diff --git a/ReactNativeClient/lib/folders-screen-utils.js b/ReactNativeClient/lib/folders-screen-utils.js index 1a6971da4..56a4ec22b 100644 --- a/ReactNativeClient/lib/folders-screen-utils.js +++ b/ReactNativeClient/lib/folders-screen-utils.js @@ -3,7 +3,13 @@ const Folder = require('lib/models/Folder.js'); class FoldersScreenUtils { static async refreshFolders() { - let initialFolders = await Folder.all({ includeConflictFolder: true }); + let initialFolders = await Folder.all({ + includeConflictFolder: true, + order: [{ + by: "title", + dir: "asc" + }] + }); this.dispatch({ type: 'FOLDER_UPDATE_ALL', @@ -13,4 +19,6 @@ class FoldersScreenUtils { } -module.exports = { FoldersScreenUtils }; \ No newline at end of file +module.exports = { + FoldersScreenUtils +}; \ No newline at end of file