More Arrays (array_multisort)

Populate three arrays with Presidential Candidate Data

Show the original state of the arrays ======================

Candidate Data

Array
(
    [0] => Harris
    [1] => Trump
    [2] => Stein
    [3] => Oliver
)

Vice Presidential Candidate Data

Array
(
    [0] => Walz
    [1] => Vance
    [2] => Ware
    [3] => Maat
)

Presidential Candidate Party Data

Array
(
    [0] => Democrat
    [1] => Republican
    [2] => Green
    [3] => Libertarian
)

Presidential Candidate Hometown Data

Array
(
    [0] => Oakland, CA
    [1] => Queens, NY
    [2] => Chicago, IL
    [3] => Atlanta, GA
)

Sort arrays by Candidate ======================

Political Candidate Data

Array
(
    [0] => Harris
    [1] => Oliver
    [2] => Stein
    [3] => Trump
)

Vice Presidential Candidate Data

Array
(
    [0] => Walz
    [1] => Maat
    [2] => Ware
    [3] => Vance
)

Presidential Candidate Party Data

Array
(
    [0] => Democrat
    [1] => Libertarian
    [2] => Green
    [3] => Republican
)

Presidential Candidate Hometown Data

Array
(
    [0] => Oakland, CA
    [1] => Atlanta, GA
    [2] => Chicago, IL
    [3] => Queens, NY
)

Sort arrays by Vice Presidential Candidate ======================

Political Candidate Data

Array
(
    [0] => Oliver
    [1] => Trump
    [2] => Harris
    [3] => Stein
)

Vice Presidential Candidate Data

Array
(
    [0] => Maat
    [1] => Vance
    [2] => Walz
    [3] => Ware
)

Presidential Candidate Party Data

Array
(
    [0] => Libertarian
    [1] => Republican
    [2] => Democrat
    [3] => Green
)

Presidential Candidate Hometown Data

Array
(
    [0] => Atlanta, GA
    [1] => Queens, NY
    [2] => Oakland, CA
    [3] => Chicago, IL
)

Sort arrays by Political Party ======================

Political Candidate Data

Array
(
    [0] => Harris
    [1] => Stein
    [2] => Oliver
    [3] => Trump
)

Vice Presidential Candidate Data

Array
(
    [0] => Walz
    [1] => Ware
    [2] => Maat
    [3] => Vance
)

Presidential Candidate Party Data

Array
(
    [0] => Democrat
    [1] => Green
    [2] => Libertarian
    [3] => Republican
)

Presidential Candidate Hometown Data

Array
(
    [0] => Oakland, CA
    [1] => Chicago, IL
    [2] => Atlanta, GA
    [3] => Queens, NY
)

Sort arrays by Presidential Candidate Hometown ======================

Political Candidate Data

Array
(
    [0] => Oliver
    [1] => Stein
    [2] => Harris
    [3] => Trump
)

Vice Presidential Candidate Data

Array
(
    [0] => Maat
    [1] => Ware
    [2] => Walz
    [3] => Vance
)

Presidential Candidate Party Data

Array
(
    [0] => Libertarian
    [1] => Green
    [2] => Democrat
    [3] => Republican
)

Presidential Candidate Hometown Data

Array
(
    [0] => Atlanta, GA
    [1] => Chicago, IL
    [2] => Oakland, CA
    [3] => Queens, NY
)