The question of why and how animal and human groups form temporarily stable hierarchical organizations has long been a great challenge from the point of quantitative interpretations. The prevailing observation/consensus is that a hierarchical social or technological structure is optimal considering a variety of aspects. In my talk, I will introduce a simple quantitative interpretation of this situation using a statistical mechanics-type approach. We defined an efficiency function for a typical organization/system which is constructed from interacting individual units with a variety of abilities ai (level of the potential contribution of a unit to the performance of the whole system), and developed an approach to address the question of the spontaneous emergence of hierarchical networks displaying behaviours analogous to those of glasses