 	}
 	
 	@objc func userDefaultsDidChange(_ note: Notification) {
-		performBlockAndRestoreSelection {
-			articles = articles.sortedByDate(sortDirection ? .orderedDescending : .orderedAscending, groupByFeed: groupByFeed)
-			rebuildTimelineItems()
-		}
+		sortDirection = AppDefaults.shared.timelineSortDirection
+		groupByFeed = AppDefaults.shared.timelineGroupByFeed
 	}
 	
 	// MARK: Timeline Management

		return _idToArticleDictionary
	}

	private var sortDirection: Bool {
		AppDefaults.shared.timelineSortDirection
	}
	
	private var groupByFeed: Bool {
		AppDefaults.shared.timelineGroupByFeed
	}
	
	init() {

		}
	}

	func sortParametersDidChange() {
		performBlockAndRestoreSelection {
			articles = articles.sortedByDate(sortDirection ? .orderedDescending : .orderedAscending, groupByFeed: groupByFeed)
			rebuildTimelineItems()
		}
	}
	
	func performBlockAndRestoreSelection(_ block: (() -> Void)) {
//		let savedSelection = selectedArticleIDs()
		block()
