lets say we have a custom class named imageFile and this class contains two properties.
class imageFile { var fileName = String() var fileID = Int(
Swift 3
people = people.sorted(by: { $0.email > $1.email })