Group Group Group Group Group Group Group Group Group

How do I get the sections header from NSfetchedResultController

I am using the a diffable datasource to populate the cells in a collection view while getting the data from NSFetchedResultController. However, I am struggling to figure out how to properly create a snapshot with the according section headers.