is there a way to sort a multidimensional array based upon column?
Announcement
Collapse
No announcement yet.
sort multidimensional array
Collapse
X
-
In MivaScript, the function miva_array_sort():
http://www.mivascript.com/item/mivas...rray_sort.html
You would probably write a custom callback function to sort by the member (column) you specify.
Gordon Currie
Phosphor Media - "Your Success is our Business"
Improve Your Customer Service | Get MORE Customers | Edit Any Document Easily | Free Modules | Follow Us on Facebook
phosphormedia.com
-
so it seems like it will only produce the index that should be first, it doesn't actually sort the array? maybe I am doing it wrong...Chris Dye
http://www.kseriesparts.com
Comment
-
I got it working, I used the custom Array_Sort_By function and had it return the array.Chris Dye
http://www.kseriesparts.com
Comment
Comment