I have the following two-dimensional array:
Array
(
[74] => Array
(
[sku] => W58
[name] => EC300 Conductivity/Temperature
[qty] => 75
[unit] => ea
[variable_print] => 0
)
[81] => Array
(
[sku] => E18
[name] => TMDL Cover Leter
[qty] => 12
[unit] => ea
[variable_print] => 1
)
[77] => Array
(
[sku] => A519
[name] => Seminole County Turbidity Equivalency
[qty] => 1
[unit] => ea
[variable_print] => 0
)
)
I want to re-sort this array by the variable_print value. Can that be done w/ one of the built-in PHP array sorting functions? I thought that I'd be able to do it w/ ksort or perhaps the array_multisort command, but if either of those will work, I'm not writing it correctly.
Any ideas?
Thanks,
Shaun