I have a multidimensional associative array containing more than 2 columns.
I am trying to create a function that orders the array with the value of two specific columns. For example if value_column_3 ('hangs_from') from position 4 in the array depends from value_column_1 ('old_id') from position 0 in the array, I have to move position 4 of the array right after position 0.
It's sort of bubble sort algorithm.
How can I access and specific position from this multidimensional associative array so I can do the comparison?