This 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 is sorted by.
All that's necessary to pass 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 syntactical and semantical errors. Should any error occur an appropriate error message is returned. |