Tag Archives: Multi Dimensional Array Sorting

PHP multi dimensional array sorting by a column with example

While working on an application we generally need to sort a multi dimensional array  by a column and sometimes we get frustrate to sort. Because there is no inbuilt function is available to do this operation. In that case we will need to implement some logic to achieve the desired output. So here, with this example you can… Read More »

Multi Dimensional Array Sorting in Php

There are some inbuilt php functions are available to sort an array in which order you want like sort(), ksort(), rsort(), usort() etc. But these methods sort only one dimensional array. If you want multi dimensional array sorting you will have to write some code to handle it. Here, in this article i will tell you a simple… Read More »