I am currently creating a sorting method that consists of values from an mysql query.
Here\'s a brief view of the array:
Array ( [0]
You might consider array_walk and array_walk_recursive and array_map, which when combined together maybe to get to doing what you want to do.