Like this: https://news.ycombinator.com/newsfaq.html
"How are stories ranked?
On the front page, by points divided by a power of the time since they were submitted. Comments in comment threads are ranked the same way.
Stories on the new page and comments on the comments page are listed chronologically."
Now, try to find a similar answer for the websites like Facebook or Quora.