Facebook announced that it will soon use a new algorithm that will basically prioritize the most popular posts in the news feed, according to Pop Herald.

With the new system, posts about trending topics will be ranked higher and appear first on the person's account.

 "Our goal with News Feed is to show everyone the right content at the right time so they don't miss the stories that are important to them," Erich Owens, Facebook's software engineer said in a statement.

"We've heard feedback that there are some instances where a post from a friend or a Page you are connected to is only interesting at specific moment, for example when you are both watching the same sports game, or talking about the season premiere of a popular TV show," he added.

According to Owens and David Vickery, the site's engineering manager, Facebook will rank posts based on two factors, Mashable reported.

The first involves displaying posts about trending topics.

For example, since the term "iPhone 6" is considered a hot topic right now, posts that mention this phrase will be ranked higher by the site. This means friends who post about Apple's latest product will be displayed higher in the news feed.

"One way we show timely content higher-up in News Feed is to show people stories about things that are trending as soon as they occur, so you can immediately know what your friends or favorite Pages are saying about the stories of the day," Owens and Vickery explained.

As for the second factor, the site will analyze the rate at which posts receive comments and likes from contacts, according to Benchmark Monitor.

For now, Facebook is concerned with the number of likes from friends. In the new system, the site will take into account the time it takes for a post to elicit reaction from those who see it.

"If people are engaging with the post right after it is posted, and not as much a a few hours later, this suggests that the post was most interesting at the time it was posted, but potentially less interesting at a later date," Owens wrote.

"Based on this signal it is more likely to appear higher in News Feed earlier on and lower at a later date," he added.

Owens did not provide a specific date as to when the new system will be implemented but noted that Facebook will unveil the new feature gradually.