0

Trying to sort OrderedDictionary - the format = var OrderedDictionary = [:], on a ASCollectionNode but not working. I tried using. but still no success. please I need your help.

self.OrderedDictionary.sort(by: { (f1, f2) -> Bool in
                return f1.value.posedDate?.compare(f2.value.posedDate!) == .orderedDescending

            }) 

0 Answers0