well they're ordered by date or id. so your query would look something like
SELECT * FROM table ORDER BY id
or ORDER BY date
etc.
If you want top sites, what you'd do is create a field in your database called something like top_site or whatever, then keep track of the clicks and add one each time the site is visited so the database is updated, then you'd do a select but order by top_site descending (from greatest to least)
SELECT * FROM table ORDER BY top_site DESC
Cgraz