The code in the previous post wasn't presented for copy/pasting, it was presented as an example of the idea.The thing is, if this were a classroom assignment, the purpose of the assignment would be:Use sortDescriptors on an NSFetchRequest to group the fetch results by name.Instead of displaying the results of the fetch request directly, display one section and for the rows display information from the groups of the fetch request.Or, as a variation to the second bullet point, instead of displaying the individual rows, initially display a single row displaying summary information for the group which is replaced by the individual rows when expanded.But all of that still boils down to:Step 1: Sort your fetch request by name.Step 2: Customize your table view code in a manner that goes beyond the scope of a single forum post.As a good start, the table view and collection view sessions from each year's WWDC videos explain how to do this sort of thing, things like dynamically addin