Posts Tagged ‘array_multisort’

Sorting 2D-arrays in PHP – anectodes and reflections

Sunday, January 6th, 2008

Update Aug 4, 2008: The below 2D sorting stuff has been superseded by the sorting section in the fluent article. The below example should be seen as something merely anecdotal and not be taken as a good example of how to sort 2D arrays by column. Alternatively, if you’re fine with a really simple approach see the end of the below article.... Read More