Added forgotten Comparator
[pub/Android/ownCloud.git] / src / com / owncloud / android / datamodel / OCFile.java
index 92168ff..03ec163 100644 (file)
@@ -446,7 +446,7 @@ public class OCFile implements Parcelable, Comparable<OCFile> {
         } else if (another.isFolder()) {
             return 1;
         }
         } else if (another.isFolder()) {
             return 1;
         }
-        return getRemotePath().toLowerCase().compareTo(another.getRemotePath().toLowerCase());
+        return new AlphanumComparator().compare(this, another);
     }
 
     @Override
     }
 
     @Override