
Ranking
A ranking is the automatic sorting of many results according to their expected usefulness. Search engines, online shops, and social networks use it to decide what appears at the very top and what practically no one ever sees.
When you type a word into a search engine, often millions of pages match it. You’ll probably only look at about five of them. So the system has to decide which five appear at the top. This decision is precisely what’s called ranking: a large set of possible results is put into an order. Each result is given a score, and sorting happens according to that score, from the highest value downward. The score is meant to estimate how useful the result is for this exact person at this exact moment.
Why position 1 is almost everything
Attention is distributed extremely unevenly. In web searches, the first result gets roughly a quarter to a third of all clicks, depending on the study. By position ten, it drops to single digits, and almost no one looks at the second page anymore. Whoever controls the order effectively controls what exists.
This has given rise to an entire industry. Companies pay money to appear higher up in search results. Sellers on Amazon fight for the top spots in the product list. And media outlets tailor their headlines to whatever gets sorted well on social networks.
That’s why rankings are also politically sensitive. If a corporation favors its own offerings in its own list, that’s a competition problem. The EU has imposed billion-euro fines on Google precisely for this. The Digital Services Act now requires large platforms to disclose the main criteria behind their sorting.
From keywords to learned scores
Early systems simply counted words. If the search term appeared often in the text and was overall rare, it scored many points. Later, signals beyond the text itself were added, such as how many other pages linked to a page. Such links were treated as a kind of recommendation, similar to citations in academic papers.
Today this usually happens in two stages. First, a fast method pulls out roughly a thousand reasonably matching documents from billions of them. Then a more elaborate model evaluates just these thousand in detail and re-sorts them. This second stage is called reranking, and it’s the reason search can be both fast and precise at the same time.
The scoring model is trained, meaning it learns from examples. It’s shown search queries along with results that people have rated as good or bad. It also learns from actual user behavior: what was clicked, what was skipped, where people immediately went back. This data is biased, however, since what gets clicked is mostly whatever was already at the top.
Rankings in feeds, shops, and chatbots
The feed on TikTok, Instagram, or YouTube is nothing other than a ranking. An order is calculated for you out of a vast pool of content. Unlike with search, there’s no typed-in question here. Instead, the system guesses what interests you based on your past behavior.
Modern AI assistants also use rankings behind the scenes. Before a language model answers a question, it often searches for matching documents and sorts them by relevance. Only the best few make it into the model’s context, simply because there’s no room for more. A poor ranking here leads directly to a wrong answer.
A common misconception is that there is one single, objectively correct ranking. Every ordering is full of decisions: Does recency count more than accuracy, popularity more than diversity? Platforms mostly optimize for measurable goals like time spent or revenue. What ends up on top, therefore, isn’t necessarily the best thing — it’s whatever benefits the operator the most.