In this work we show that almost all useful ordinal invariants in topology studied until now (such as derived length of scattered spaces, sequential order of sequential spaces, etc.) can be brought under the single heading of what we call the order of a map. This helps us to perceive some close connections among apparently unrelated corners of general topology, to view the known concepts from different angles and to obtain a lot of information about the particular cases.