My code works. I have a question about the instructions:
1. Inside your method, add a line that calls .sort! on the arr array. Since it is the last line of the method, the sorted array will be returned.
2. Now test your work! After your method, make a new array called numbers that contains a few numbers like the example above.
3. Call your alphabetize method with your numbers array as the parameter and puts the result to the console.
Shouldn't it be Call your alphabetize method with your numbers array as the argument instead? From what I understand:
def foo (param1, param2) <- parameter
foo (arg1, arg2) <- argument
def alphabetize(arr, rev=false) arr.sort! end numbers = [2,6,8,4] puts alphabetize(numbers)