def alphabetize(arr, rev=false)
if rev == true
numbers = [1,3,5,2,6,4]
This is the code I am running. The output is correct in the display, and my numbers are reverse. However, it won't let me go onto the next lesson because it says " Oops, try again. It looks like your method doensn't reverse-alphabetize an array when it receives 'true' as a parameter." Is there something I am missing? I looked at other discussions and the code seems to match.
Please help! Thanks