Quote:
Originally Posted by DustyPorViva
He sorted it, but did so in another variable, so the original array is untouched.
|
I thought that since sortascending is a function, it changes the array regardless of whether it's being used within a variable assignment or on its own line (at least, this is the way it is in PHP).