From: "(RK) Sentinel" Date: 2009-01-24T19:24:29+09:00 Subject: Re: Sorting array with nils (RK) Sentinel wrote: > I have been browsing but given answers are not suiting me. >> > I figured since "A" <=> "B" reutrns -1,0 or 1, i should also put one of > these in the loop but it throws an error. > > thanks. My apologies: did some further debugging and one Time value format was different from the others. It is okay to use -1 and 1 after checking for nil?. Cheers -- Posted via http://www.ruby-forum.com/.