From: Phrogz Date: 2007-06-28T14:30:03+09:00 Subject: Re: Array Problem, sort Array On Jun 27, 9:39 pm, Cool Wong wrote: > if the array include the "nil", it cannot sort, why?? > > ["a", "a", "a", "b", "b", "c", "c", "c","d", "d", "e", nil].uniq.sort my_array.compact.uniq.sort