# Multidimensional arrays?

**URL:** <https://forum.kirupa.com/t/multidimensional-arrays/247947>\
**Category:** flash\
**Created:** [January 2, 2008, 4:02am UTC](https://forum.kirupa.com/t/multidimensional-arrays/247947 "2008-01-02T04:02:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iceflyin](https://avatars.discourse-cdn.com/v4/letter/i/9de053/32.png) [@iceflyin](https://forum.kirupa.com/u/iceflyin)\
**Post date:** [January 2, 2008, 4:02am UTC](https://forum.kirupa.com/t/multidimensional-arrays/247947/1 "2008-01-02T04:02:35Z")

</div>

Is it possible to create and sort multidimensional arrays in flash like in PHP?

Eg, psedocode…  
array[0] -\> apple, 1.50  
array[1] -\> orange, 1.80

Then be able to re-sort it by cost or name…

Eg, re-sort by cost decending would give me…

array[0] -\> orange, 1.80  
array[1] -\> apple, 1.50

Or, sorting an even more complex arrangement…  
item, cost, quantity, date  
array[0] -\> apple, 1.50, 60, 20081224  
array[1] -\> orange, 1.80, 20, 20081213

Any ideas how to do this? Use multiple arrays?
