I am currently sorting popular links by common clicks. But I also have timestamps for every visit. How can I sort links not only by general clicks, but also by time, so only the most relevant ones are displayed in the upper part?
table link_clicks
link_id
link_time
source
share