Arrays Revisited (array_multisort)
Populate three arrays with book data
Show the original state of the arrays ======================
Title data
Array ( [0] => Green Eggs and Ham [1] => To Kill a Mockingbird [2] => Kite Runner [3] => Enders Game )
Author data
Array ( [0] => Dr.Seuss [1] => Nelle Harper [2] => Khaled Hosseini [3] => Scott Card )
Published Date data
Array ( [0] => 1960 [1] => 1960 [2] => 2003 [3] => 1985 )
Sort arrays by Title ======================
Title data
Array ( [0] => Enders Game [1] => Green Eggs and Ham [2] => Kite Runner [3] => To Kill a Mockingbird )
Author data
Array ( [0] => Scott Card [1] => Dr.Seuss [2] => Khaled Hosseini [3] => Nelle Harper )
Published Date data
Array ( [0] => 1985 [1] => 1960 [2] => 2003 [3] => 1960 )
Sort arrays by Author ======================
Title data
Array ( [0] => Green Eggs and Ham [1] => Kite Runner [2] => To Kill a Mockingbird [3] => Enders Game )
Author data
Array ( [0] => Dr.Seuss [1] => Khaled Hosseini [2] => Nelle Harper [3] => Scott Card )
Published Date data
Array ( [0] => 1960 [1] => 2003 [2] => 1960 [3] => 1985 )
Sort arrays by Date Published ======================
Title data
Array ( [0] => Green Eggs and Ham [1] => To Kill a Mockingbird [2] => Enders Game [3] => Kite Runner )
Author data
Array ( [0] => Dr.Seuss [1] => Nelle Harper [2] => Scott Card [3] => Khaled Hosseini )
Published Date data
Array ( [0] => 1960 [1] => 1960 [2] => 1985 [3] => 2003 )
Author Count 4
Title Count 4
Date Count 4