Hmm, not really,
The array is already filled in ascending order - I'd like to sort it so I can use a function I've already got which iterates through the data in ascending order for the first ten records with the highest totals, starting with the highest total, finishing with the tenth highest - I think the easiest way to look at the last ten records is to sort the array in descending order so I can process the ten lowest totals, starting with the lowest total. I can't seem to get the data sorted whilst keeping the arrays paired up with their names:
$record = array ($recordTotal, $recordName);
where total and names are arrays holding totals and names sorted by total
Fraser