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?