By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,985 Members | 1,885 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,985 IT Pros & Developers. It's quick & easy.

Sort 2D arrayby multiple columns?

P: n/a
is there an easy function/ class for sorting a 2D array multiple
fields. I would like to specify a primary sort and secondary sort.

Jun 13 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a

ve*****@yahoo.com wrote:
is there an easy function/ class for sorting a 2D array multiple
fields. I would like to specify a primary sort and secondary sort.


What you need is array_multisort(), I believe.

Jun 13 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.