13.Foundations. Please help!


Hello there! I'm at the Foundations level and I can't seem to complete this level. Plz help.

Replace this line with your code.


Please give the FULL code you are using...


This is my code.

# library sorting code
books = ["Charlie and the Chocolate Factory", "War and Peace", "Utopia", "A Brief History of Time", "A Wrinkle in Time"]

# How might we sort! the books in alphabetical order? (Hint, hint)
books.sort! do |x|
    puts x


They only want you to change the sorting order of the books-Array,
a code-block

do |x|
    puts x

is NOT needed !!



Thank you so much! It worked.