+
+ private func sortedObjects<ResultType: Entity>(_ entity: ResultType.Type) -> [ResultType] {
+
+ let store = configuration.editorStore
+
+ guard let objects = try? store.objects(of: configuration.entity) else {
+
+ Logger.shared.log("Can not get entity named \(configuration.entity)")
+
+ return []
+ }
+
+ return (objects as NSArray).sortedArray(using: sortDescriptors) as? [ResultType] ?? []
+ }
+ private func commintInContext() {
+