I have an array of objects from Core Data that I would like to sort in a function in a child view. I know how to sort using .sorted(by:{}), but the problem is assig
.sorted(by:{})