我手头有大约4000篇博客文章。我想根据以下价值观对所有文章进行排名。
Upvote Count => P
Comments Recieved => C
Share Count => S
Created time in Epoch => E
Follower Count of Category which post belongs to => F (one post has one category)
User Weight => U (User with most number of post have biggest weight)
我希望您能提供伪代码的答案。