The systematic ranking of individuals or groups in a society based on various criteria such as wealth, power, and prestige.