[Solved] Priority scoring algorithm [closed]
Create a post value and sort by it: postValue = likes + (isVetted ? 10 : 0) This makes “vetting” worth 10 likes. In other words, if 10 people like something not vetted, it will be ranked equivalently to something vetted with 0 likes. If you want to sort by date instead, then just sort … Read more