init(KeyPath<Compared, String?>, comparator: String.StandardComparator)
Creates a sort descriptor using a key path to an optional string.
init(KeyPath<Compared, String>, comparator: String.StandardComparator, order: SortOrder)
Creates a sort descriptor using a key path to a string that uses a sort order that you specify.
init(KeyPath<Compared, String?>, comparator: String.StandardComparator, order: SortOrder)
Creates a sort descriptor using a key path to an optional string that uses a sort order that you specify.