Свифт как сортировать массив
var images : [imageFile] = []
images.sorted(by: { $0.fileID > $1.fileID })
Mobile Star
var images : [imageFile] = []
images.sorted(by: { $0.fileID > $1.fileID })
let sortedUsers = users.sorted {
$0.firstName < $1.firstName
}