Code Area PHP

Sort Multidimensional Array by KEY

Array is the most important part of programming. Sometime we need to sort out our result based on key (ascending and descending order). SometimeĀ it’sĀ boring for us. For this reason I have created a function for sorting out the array based on my given key and of course it’s working for the multidimensional array.