And there we have it! We've bubbled 5, the biggest value, to the final position in the array.