1: \begin{abstract}
2: Hierarchy seems to pervade complexity in both living and artificial systems. Despite its relevance, no general theory that captures all features of
3: hierarchy and its origins has been proposed yet.
4: Here we present a formal approach resulting from the convergence of theoretical morphology and network theory that allows constructing a 3D
5: morphospace of hierarchies and hence comparing the hierarchical
6: organization of ecological, cellular, technological and social networks. Embedded within large voids in the morphospace of all possible hierarchies,
7: four major groups are identified. Two of them match the expected
8: from random networks with similar connectivity, thus suggesting that non-adaptive factors are at work.
9: Ecological and gene networks define the other two, indicating that their topological
10: order is the result of functional constraints. These results are consistent with an
11: exploration of the morphospace using in silico evolved networks.
12: \end{abstract}
13: