if (!Array.prototype.duplicate)
Array.prototype.duplicate = function() { return [].concat(this);}
if (!Array.prototype.sortRandom)
Array.prototype.sortRandom = function() { this.sort(function(elmt1, elmt2) { return ((2 * Math.round(Math.random())) - 1) }); }
if (!Array.prototype.getRandomlySort)
Array.prototype.getRandomlySort= function() { return this.duplicate().sortRandom();}