malsup/cycle2 — pull request #424 by d8uv (2014-01-28 20:40:55+00:00)
Title: Change random sort to use Fisher-Yates shuffle

Sorting by Math.random() doesn't give you a fast or a consistent shuffle. With that said, this shuffle is still bigger and more complicated than the naive approach, and I haven't done any formal benchmarking or testing. I leave it completely to you.