I have this problem.
I want to order array results by the first, second, or third...values.
For example:
$lib = array
        (
          0 => array(
                      "Title" => "The God",
                      "Genre" => "Comedy",
                      "Year"  => 1999
                    ),
          1 => array(
                      "Title" => "The Mexican",
                      "Genre" => "Western",
                      "Year"  => 2010
                    ),
          2 => array(
                      "Title" => "The Oasis",
                      "Genre" => "Cry",
                      "Year"  => 2001
                    );
        );
For example: Order all arrays values by Genre, Year... alphabetically or by date.