标签:names dna logs sed class order test war .so
func backward(_ s1: String, _ s2: String) -> Bool { return s1 > s2 } var reversedNames = names.sorted(isOrderedBefore: backward) //reversedNames is equal to ["Ewa", "Daniella", "Chris", "Barry", "Alex"]
标签:names dna logs sed class order test war .so
原文地址:http://www.cnblogs.com/leewbl/p/7379766.html