func sorted()

in Sources/SwiftCodeSanKit/Utils/Extensions/SequenceExtensions.swift [39:43]


    func sorted<T>(path: KeyPath<Element, T>) -> [Element] where T: Comparable {
        return sorted { (lhs, rhs) -> Bool in
            lhs[keyPath: path] < rhs[keyPath: path]
        }
    }