sorted_book_list = book_list.sort {|a, b| a.score <=> b.score }