How to safely apply SortDescriptor(\.sortOrder) with Swift 6 Concurrency and @Model

You should be able to tell the compiler your KeyPath instance is Sendable. You might also need to confirm the Root and Value are also Sendable.