init(filter:sort:order:animation:sectionBy:)
Creates a sectioned query sorted by an optional key path, grouped by a required optional-String key path.
Declaration
@MainActor @preconcurrency init<Value>(filter: Predicate<Element>? = nil, sort keyPath: KeyPath<Element, Value?>, order: SortOrder = .forward, animation: Animation, sectionBy sectionKeyPath: KeyPath<Element, String?>) where Result == SectionedResults<Element, String>, Value : Comparable