471,046 Members | 808 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,046 software developers and data experts.

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 1634

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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.