init(keyPath:ascending:)
Creates a sort descriptor with a specified key path and ordering.
Declaration
convenience init<Root, Value>(keyPath: KeyPath<Root, Value>, ascending: Bool)Creates a sort descriptor with a specified key path and ordering.
convenience init<Root, Value>(keyPath: KeyPath<Root, Value>, ascending: Bool)