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?