How is ranking decided?

Order in lists and search is decided by a single score. Paid promotion makes a limited contribution to this score; it does not decide the order on its own.