This PHP class sorts two- or multidimensional arrays by one or multiple columns. The assumed array format is always [row][column]([property]).
Sorting works ascending as well as descending.
There are no limits to either the dimensions of the array or the columns it's sorted by.
All the user has to supply to the class is the array to be sorted and a sort string specifying how the array is to be sorted.
This sort string is checked for syntactic and semantic errors. Should either occur an appropriate error message is returned.