init(_:animation:sectionBy:)
Creates a sectioned query from a fetch descriptor, grouped into sections by a String key path.
Declaration
@MainActor @preconcurrency init(_ descriptor: FetchDescriptor<Element>, animation: Animation, sectionBy sectionKeyPath: KeyPath<Element, String>? = nil) where Result == [Element]