Arrays Revisited (array_multisort)
Populate Three Arrays With Book Data
Show The Original State Of The Arrays ======================
Title Data
Array ( [0] => The Grapes of Wrath [1] => The Trial [2] => The Hobit [3] => Tale of Two Cities )
Author Data
Array ( [0] => John Steinbeck [1] => Frances Kafka [2] => J. R. Tolkien [3] => Charles Dickens )
Published Date Data
Array ( [0] => 1939 [1] => 1925 [2] => 1937 [3] => 1859 )
Sort Arrays By Title ======================
Title Data
Array ( [0] => Tale of Two Cities [1] => The Grapes of Wrath [2] => The Hobit [3] => The Trial )
Author Data
Array ( [0] => Charles Dickens [1] => John Steinbeck [2] => J. R. Tolkien [3] => Frances Kafka )
Published Date Data
Array ( [0] => 1859 [1] => 1939 [2] => 1937 [3] => 1925 )
Sort Arrays By Author ======================
Title Data
Array ( [0] => Tale of Two Cities [1] => The Trial [2] => The Hobit [3] => The Grapes of Wrath )
Author Data
Array ( [0] => Charles Dickens [1] => Frances Kafka [2] => J. R. Tolkien [3] => John Steinbeck )
Published Date Data
Array ( [0] => 1859 [1] => 1925 [2] => 1937 [3] => 1939 )
Sort Arrays By Date Published ======================
Title Data
Array ( [0] => Tale of Two Cities [1] => The Trial [2] => The Hobit [3] => The Grapes of Wrath )
Author Data
Array ( [0] => Charles Dickens [1] => Frances Kafka [2] => J. R. Tolkien [3] => John Steinbeck )
Published Date Data
Array ( [0] => 1859 [1] => 1925 [2] => 1937 [3] => 1939 )