Swift Foreach Array Of Objects Sort