PHP-Sort array based on another array?
For a detailed answer, why array_multisort does not match your needs, view this answer, please: PHP array_multisort not sorting my multidimensional array as expected In short: You want to sort an array based on a predefined order. The Answer is also given over there, but i copied one solution to this answer, too: Use usort … Read more