If made a multiple dimension array which looks like this:
$result[$i] = array('type' => 'pagina', 'id' => $row['id'], 'titel' => $row['titel'], 'intro' => $row['intro'], 'score' => $row['score']);
now I would like to sort it on score (highest on top).
array_multisort() claims it can do this, but i don't understand this function ( http://www.php.net/manual/nl/function.array-multisort.php
) So maybe someone can tell me how the code should look like..