A MySQL query retrieves:
totalpoints -- name 55 -- John Doe 55 -- John Doe 55 -- John Doe 55 -- John Doe 55 -- John Doe 21 -- Jean London 21 -- Jean London 13
select name,totalpoints from table group by name order by totalpoints desc