classificar matriz em ordem alfabética 4 4

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