468,786 Members | 1,741 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,786 developers. It's quick & easy.

Sort 2D arrayby multiple columns?

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
1 1591

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.

Similar topics

5 posts views Thread by Dr. Ann Huxtable | last post: by
3 posts views Thread by Bob Dankert | last post: by
2 posts views Thread by alAzif | last post: by
1 post views Thread by reiks | last post: by
reply views Thread by Terry Brown | last post: by
1 post views Thread by Lyners | last post: by
reply views Thread by zhoujie | last post: by
2 posts views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.