<!--- Set the random array. ---> <cfset arrGirls = ListToArray( lstGirls ) /> <!--- Get the length of the array. ---> <cfset intLength = ArrayLen( arrGirls ) /> <!--- Iterate the number of girls x 2. ---> <cfloop index="intIndex" from="1" to="#(intLength * 2)#" step="1"> <cfset ArraySwap( arrGirls, RandRange( 1, intLength ), RandRange( 1, intLength ) ) /> </cfloop> <!--- Get the random list. ---> <cfset lstRandomGirls = ArrayToList( arrGirls ) />