Sorry slight correction,
$result = mysql_query("
SELECT
`ordering`.`user_id`,`ordering`.`first_name`, `ordering`.`last_name`, `ordering`.`total`,
sum(`ordering`.`total`) as `total`
FROM
`ordering`
GROUP BY `ordering`.`user_id
ORDER BY `total` DESC
;");