We can also sort an array. Let's add some more values and get $friends in alphabetical order!

Right on! The sort() function orders the items of an array in ascending order, be they numbers or strings.

Psst: another function called rsort() sorts an array in descending order.

Might it be that shuffle() would put the values in random order?