Stephen Waits wrote:
> 
>     h = Hash.new
>     self.each { |v| h[rand(1000000000)] = v }
>     h.keys.sort.collect { |k| h[k] }

OOPS!

I forgot to deal with collisions in the hash!   :(

--Steve