Auto-translated
This depends not on the creature level, but on the building level
Academy buildings are located in \GameMechanics\TownBuildingSharedStats\Academy
for example, the Mage Tower
<?xml version="1.0" encoding="UTF-8"?>
<TownBuildingSharedStats ObjectRecordID="1000133">
<NameFileRef href="/Text/Game/TownBuildings/Academy/Dwelling_4/Name.txt"/>
<DescriptionFileRef href="/Text/Game/TownBuildings/Academy/Dwelling_4/Description.txt"/>
<Type>TB_DWELLING_4</Type> - this is responsible for the position in the recruitment list, as well as in the building queue
<Upgrade>BLD_UPG_1</Upgrade>
<Cost>
<Wood>0</Wood>
<Ore>10</Ore>
<Mercury>0</Mercury>
<Crystal>0</Crystal>
<Sulfur>10</Sulfur>
<Gem>5</Gem>
<Gold>2200</Gold>
</Cost>
<ModObjectName>MageTower</ModObjectName>
<dependencies/>
<Creature>CREATURE_MAGI</Creature>
<DevLevelNeeded>6</DevLevelNeeded>
<UIObjectName>Dwelling_4</UIObjectName>
<UIStackPosition>0</UIStackPosition>
<Icon href="/UI/TownHall/academy/128/d5.xdb#xpointer(/Texture)"/>
</TownBuildingSharedStats>
that is, you need to rewrite this line for both Mage Huts and both Genie Huts
then you need to configure their placement in the recruitment window
\UI\TownBuildNew\Towns
file academy.(TownBuildDefinition).xdb
look for 2 lines of TB_DWELLING_4 and 2 lines of TB_DWELLING_5 there, rewrite them
The recruitment order changes anyway.