Browse Source

coding

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 years ago
parent
commit
a2c2bc5906
1 changed files with 1 additions and 1 deletions
  1. 1 1
      iOSClient/Data/NCDataSource.swift

+ 1 - 1
iOSClient/Data/NCDataSource.swift

@@ -87,7 +87,7 @@ class NCDataSource: NSObject {
                 }
             }
             self.sectionsValue.removeAll()
-            let sectionsDictionarySorted = sectionsDictionary.sorted(by: { $0.value > $1.value } )
+            let sectionsDictionarySorted = sectionsDictionary.sorted(by: { $0.value < $1.value } )
             for section in sectionsDictionarySorted {
                 if section.key == NCGlobal.shared.appName {
                     self.sectionsValue.insert(section.key, at: 0)