# Re: Randomizing an Array?

**URL:** <https://www.ruby-forum.com/t/re-randomizing-an-array/80255>\
**Category:** Ruby\
**Created:** [December 22, 2006, 9:20pm UTC](https://www.ruby-forum.com/t/re-randomizing-an-array/80255 "2006-12-22T21:20:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![phrogz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/2acd7d/32.png) [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Post date:** [December 22, 2006, 9:20pm UTC](https://www.ruby-forum.com/t/re-randomizing-an-array/80255/1 "2006-12-22T21:20:30Z")

</div>

From: Gavin K.

> You might search the mailing list archive on this topic if  
> ‘true’ randomness (or close to it) is important to you.

Nevermind, I did it for you. Here’s the thread:  
[http://rubyurl.com/5v8](http://rubyurl.com/5v8)

Here’s batsman’s web page about it in depth (referenced in the first  
post in the thread):  
[http://eigenclass.org/hiki.rb?sort\_by+rand+is+biased](http://eigenclass.org/hiki.rb?sort_by+rand+is+biased)

And here’s a wiki page discussing other methods (referenced in  
Mauricio’s post):

> **[WebMD - Better information. Better health.](https://www.webmd.com/?ArrayShuffle)**
>
> The leading source for trustworthy and timely health and medical news and information. Providing credible health information, supportive community, and educational services by blending award-winning expertise in content, community services, expert...

---

<div class="post-metadata">

**Author:** ![phrogz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/2acd7d/32.png) [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Post date:** [December 23, 2006, 4:26am UTC](https://www.ruby-forum.com/t/re-randomizing-an-array/80255/2 "2006-12-23T04:26:20Z")

</div>

Gavin K. wrote:

> And here’s a wiki page discussing other methods (referenced in  
> Mauricio’s post):  
> [http://www.rubygarden.org/ruby?ArrayShuffle](http://www.rubygarden.org/ruby?ArrayShuffle)

Hey, Thank you again! You have been an immense help in this. 🙂
