We get to the final two values and compare them.
Since
5
is greater than
2
, we swap again.