From: Cool Wong Date: 2007-06-28T12:39:46+09:00 Subject: Re: Array Problem, sort Array List Rb wrote: > ["a", "a", "a", "b", "b", "c", "c", "c","d", "d", "e"].uniq.sort > > array = ["a", "a", "a", "b", "b", "c", "c", "c","d", "d", "e"].uniq.sort > > puts array.join("WOOT!\n") if the array include the "nil", it cannot sort, why?? ["a", "a", "a", "b", "b", "c", "c", "c","d", "d", "e", nil].uniq.sort -- Posted via http://www.ruby-forum.com/.