init(filter:sort:animation:sectionBy:)
Creates a sectioned query with sort descriptors, grouped by a required optional-String key path.
Declaration
@MainActor @preconcurrency init(filter: Predicate<Element>? = nil, sort descriptors: [SortDescriptor<Element>] = [], animation: Animation, sectionBy sectionKeyPath: KeyPath<Element, String?>) where Result == SectionedResults<Element, String>