Now a person wrote this to me: sorted=[]; words.length.times do sorted<<words.delete(words.min) end; sorted How can I use that in the code? It would be really nice with an example which I can read and then understand. -- Posted via http://www.ruby-forum.com/.