  A plethora of natural and socio-economic phenomena share a striking
statistical regularity, that is the magnitude of elements decreases with a
power law as a function of their position in a ranking of magnitude. Such
regularity is commonly known as Zipf's law, and plenty of problem-specific
explanations for its emergence have been provided in different fields. Yet, an
explanation for Zipf's law ubiquity is currently lacking. In this paper, we
demonstrate from first principles that Zipf's behavior naturally emerges as a
local approximation to the order statistics generated by any ranking process.
We validate our results against several relevant examples.
