<?php $values = array("fourth", "first", "second", "third"); $indices = array(3, 0, 1, 2); array_multisort($indices, $values); var_dump($values);
You have javascript disabled. You will not be able to edit any code.