search term you Googled. As to how they determined what would be first:
Google is also famous for how it looks up information. Google's approach looks, in part, at what pages are linked to a given page. The company claims its "PageRank technology" employs more than 500 million variables and two billion terms. "PageRank interprets a link from Page A to Page B as a vote for Page B by Page A," says Google in its technology overview. "PageRank then assesses a page's importance by the number of votes it receives. But not all "votes" are given equal weight. A link from what Google ranks as an important page is given greater value. The search engine also analyzes page content. But because publishers can manipulate the content of a page to try to elevate its importance, Google also considers such things as the size of the font and the location of each word and the content of neighboring web pages. http://www.gihyo.co.jp/magazine/SD/pacific/SD_0408.htmlHopefully this helps.