PShuffle = function(list, repeats) {
    Pattern.call(this);
    this.list = [];
    // Shuffle values into new list
    while (list.length) {
        var index = Math.floor(Math.random() * list.length);
        var value = list.splice(index, 1);
        this.list.push(value);
    }
    this.repeats = repeats;
    this.position = 0;
}
Reorder an array, then iterate through it's values.

@constructor
@extends Pattern
@param {Object[]} list Array of values.
@param {Number} repeats Number of times to loop through the array.