Rename comparator for posts
[Sone.git] / src / main / java / net / pterodactylus / sone / data / impl / SoneImpl.java
index 8a6dd80..04a5bcc 100644 (file)
@@ -368,7 +368,7 @@ public class SoneImpl implements Sone {
                synchronized (this) {
                        sortedPosts = new ArrayList<Post>(posts);
                }
-               Collections.sort(sortedPosts, Post.TIME_COMPARATOR);
+               Collections.sort(sortedPosts, Post.NEWEST_FIRST);
                return sortedPosts;
        }