I'm not a huge fan of comparing the objects at indexes in two different arrays this way. I prefer a standard for loop and pulling out both objects within the loop for comparison.