Sorting XML Nodes Using ColdFusion And XSLT

<!--- Create a list of sorting options. --->
<cfset arrSorting = [
	"lastname/text()",
	"firstname/text()"
	] />
 
<!--- Sort the XML. --->
<cfset xmlData = XmlSort(
	xmlData,
	"//girls",
	arrSorting
	) />
 
<!--- Output the transformation. --->
#HTMLEditFormat( xmlData )#

For Cut-and-Paste