Consistent sorting of output

This commit is contained in:
Christoph Hagen
2025-01-27 07:56:36 +01:00
parent 09b1f48aea
commit 82c40cc080
6 changed files with 23 additions and 6 deletions

View File

@ -66,7 +66,7 @@ struct PostListView: View {
}
private var filteredAndSortedPosts: [Post] {
filteredPosts.sorted(ascending: false) { $0.startDate }
filteredPosts.sortedByStartDateAndId()
}
var body: some View {