From: Nuralanur@... Date: 2006-06-29T08:11:41+09:00 Subject: Re: Sorting arrays -------------------------------1151536280 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit You can use the sort method on the entire Array: sorted=[1, 2, "three"] unsorted=[6,5,'four'] a = sorted+unsorted b = a.sort { |x,y| x.to_s <=> y.to_s} =>b is then [1, 2, 5, 6, "four", "three"] (that's because '1' was compared to 'four' etc.) Best regards, Axel -------------------------------1151536280--