Sort Multi-dimensional Array by Value

We can sort multi dimensional array in php easily by any of it’s value. below are simple example I use in my code and it works great!