records.sort() { (lhs, rhs) -> Bool in return lhs.dateModified > rhs.dateModified } collectionItems.sort() { $0.service.name < $1.service.name }