Ruby - Enumerable and Collection Processing
What will be the output of this Ruby code?
fruits = ["kiwi", "apple", "banana"]
sorted = fruits.sort_by { |fruit| fruit.length }
puts sorted.join(", ")