Consistent sorting of output
This commit is contained in:
@ -66,7 +66,7 @@ struct PostListView: View {
|
||||
}
|
||||
|
||||
private var filteredAndSortedPosts: [Post] {
|
||||
filteredPosts.sorted(ascending: false) { $0.startDate }
|
||||
filteredPosts.sortedByStartDateAndId()
|
||||
}
|
||||
|
||||
var body: some View {
|
||||
|
Reference in New Issue
Block a user