If you're using sql, You can use SELECT and ORDER BY clauses to fetch the results from database. For example,
Code:
SELECT username, kills FROM `users` ORDER BY kills DESC LIMIT 5