We're looking at different methods to sort the objects/elements in an array, the thing that doesn't make sense to me is how the actual sorting is done. I guess the big point of confusion is how can the "sort" method be effective if it only compares one object against another?
If there are values a, g, b, d, z, s, h in the array im not getting how the algorithm is getting this list into say alphabetical order by looking at two values at a time.
Any illumination would be great.