Hello @Hannah Hou
Welcome to the community.
The numbers are not an indication of the hierarchy. The hierarchy is the order in which you see the issue types displayed from top to bottom. Because Initiative is shown at the top of the list, it is at the top of the hierarchy, with Epic below it, Story/Task below Epic, and Sub-task below Story/Task.