Fix for Code

  1. $foobar = array(
  2.   'a' => array(
  3.     array(
  4.       '#title' => 'foo',
  5.     ),
  6.     array(
  7.       '#title' => 'bar',
  8.     ),
  9.   ),
  10.   'b' => array(
  11.     array(
  12.       '#title' => 'froo',
  13.     ),
  14.     array(
  15.       '#title' => 'baar',
  16.     ),
  17.   ),
  18. );
  19.  
  20. // The items in 'a' and 'b' need to be sorted bu '#title', but as if they were in one big array. How?

Submit Fix

Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Select the syntax highlighting mode to use.