Ver Fonte

order by serverUrl

Marino Faggiana há 8 anos atrás
pai
commit
f93d568555
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      iOSClient/FileSystem/CCCoreData.m

+ 1 - 1
iOSClient/FileSystem/CCCoreData.m

@@ -1096,7 +1096,7 @@
         
         TableDirectory *record1 = obj1, *record2 = obj2;
         
-        return (record1.serverUrl < record2.serverUrl);
+        return [record1.serverUrl compare:record2.serverUrl];
         
     }];