Fix sort order in timeline.
This commit is contained in:
parent
77042f67b5
commit
106cedb638
|
@ -377,7 +377,7 @@ class TimelineViewController: NSViewController, NSTableViewDelegate, NSTableView
|
||||||
|
|
||||||
private func articleComparator(_ article1: Article, article2: Article) -> Bool {
|
private func articleComparator(_ article1: Article, article2: Article) -> Bool {
|
||||||
|
|
||||||
return article1.logicalDatePublished < article2.logicalDatePublished
|
return article1.logicalDatePublished > article2.logicalDatePublished
|
||||||
}
|
}
|
||||||
|
|
||||||
private func articlesSortedByDate(_ articles: Set<Article>) -> [Article] {
|
private func articlesSortedByDate(_ articles: Set<Article>) -> [Article] {
|
||||||
|
|
Loading…
Reference in New Issue