Randomly Sorting A ColdFusion List

<!--- Set the random list. --->
<cfset lstRandomGirls = "" />
 
<!--- Loop over the list of girls. --->
<cfloop index="strGirl" list="#lstGirls#" delimiters=",">
	 
	<!--- Decide if we are appending or prepending. --->
	<cfif RandRange( 0, 1 )>
		 
		<!--- Append the girl. --->
		<cfset lstRandomGirls = ListAppend(
			lstRandomGirls,
			strGirl
			) />
	 
	<cfelse>
		 
		<!--- Prepend the girl. --->
		<cfset lstRandomGirls = ListPrepend(
			lstRandomGirls,
			strGirl
			) />
	 
	</cfif>
 
</cfloop>

For Cut-and-Paste