Solved

Order an array by more than one column

Posted on 2014-04-28
1
142 Views
Last Modified: 2014-05-12
I need to order an array like the below but I would like to order by a secondary column as well. Is this possible?

<cfset achievements = StructSort(SESSION.squad.achievements, "numeric", "desc")>
0
Comment
Question by:earwig75
1 Comment
 
LVL 39

Accepted Solution

by:
gdemaria earned 500 total points
ID: 40027875
you could order it again and assign it into a different variable, you would have two copies but as long as you don't change it, you would be fine..
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The technique is by far very Simple! How we can export the ColdFusion query results to DOC file?  Well before writing this I researched a lot in Internet but did not found a good Answer anyways!  So i thought now i should share my small snippet w…
Today, I was working on some optimization and spam-stopping techniques when I encountered Ben Nadel's post to reduce spam feature using Math (http://www.bennadel.com/blog/197-How-I-Stop-Spammers-On-My-ColdFusion-Blog.htm). While this method is not o…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question