I need to sort an array of dictionaries in the following ways. The array contains dictionaries with the following format:
[{ fecha = \"09:54:51\"; \"nomb
Try this:
var descriptor: NSSortDescriptor = NSSortDescriptor(key: "numero", ascending: true) var sortedResults: NSArray = results.sortedArrayUsingDescriptors([descriptor])