This is the result of dd() that I use in my controller on laravel 8. I want to sort the data based on the JB column. I can’t use the manual order by in SQL syntax because I get JB from complex DB RAW. Therefore I want to sort this multi-dimensional array using php. Does anyone know how to sort the multi-dimensional array based on JB column value?