Here's a link to a Stack Overflow post of mine that details the issue and solution with using call_user_function_array() to pass a dynamic list of arrays with options to array_multisort()
seen from Israel

seen from Dominican Republic
seen from China
seen from Israel

seen from Singapore
seen from Germany

seen from United States
seen from United States
seen from United Kingdom
seen from Senegal
seen from United States
seen from Denmark
seen from Indonesia

seen from Australia
seen from China
seen from United States
seen from China
seen from China
seen from United States

seen from Dominican Republic
Here's a link to a Stack Overflow post of mine that details the issue and solution with using call_user_function_array() to pass a dynamic list of arrays with options to array_multisort()