Sort CoreData results using NSPredicate in Swift
Thanks - The following lines were required before the request.predicate line:
let sortDescriptor = NSSortDescriptor(key: "name_f", ascending: true)
let sortDescriptors = [sortDescriptor]
request.sortDescriptors = sortDescriptors