I'm rewritting a script and want to stay way from having to need a database (ala MySQL) for it. I'm building a AoA and wanted to know if it was possible to sort this type of struct (versus passing the data to MySQL and doing a SQL statement)?
Row[0] contains the col names:
$aData[0][0] = column 1 name ("foo")
$aData[0][1] = column 2 name ("bar")
...
$aData[1][0] = column 1 data ("test")
$aData[1][1] = column 1 data ("this")
...
$aData[2][0] = column 2 data ("for")
$aData[2][1] = column 2 data ("bugs")
...
Is there a pre-built way to specify a col name (or number) to sort on?
TIA