So I'm sure someone has already done something similar. I've got a custom list of links, and track how many times they were clicked, and when last they were clicked. I want to sort them somehow usefully based upon both factors. Anyone can point me towards an existing solution or better yet discussion thereof? I have a few ideas of how this could be implemented, but expect there is an easier answer. EDITED FOR CLARIFICATION (was using phone to post):
So my current idea is to halve the weight of the clicks, double each period, with a period being a day. That is:
Day ... # Clicks are
<1 ..... Full Value
<2 ..... Halved value
<4 ..... 1/4th value
<8 ..... 1/8th value
The premise being that both recency and frequency of clicks means it would be more useful to have them first in the list.