Ordenar la matriz alfabéticamente Swift 4

var sortedArray = names.sorted { $0.localizedCaseInsensitiveCompare($1) == NSComparisonResult.OrderedAscending }
Distinct Dog