Well, if you're able to sort it to say the top 5 will always contain the top 5 scores (which is what you want to show), then it could be as simple as:
for($a = 0; $a < 5; $a++)
echo $myArray[$a] . '<br>';
Here you just loop through the first 5 array elements.