Hearts of Iron IV

Hearts of Iron IV

Modify the History of WW2
Modify your Hearts of Iron IV experience by checking out the many mods created and shared by the community, including tweaks to almost any aspect of the game.
Correlation of Namelists and in-game names
Hello! I have a problem. Does anyone know what determines the order of the namelists we can choose from when expanding the name box while editing a template? Compared to what I've coded, they seem to be arranged completely randomly, and I don't know how to fix it. Any changes to the namelists file don't actually change anything.

Example of my order:
A_01 = { name = "01 Infantry (Basic)"
B_02 = { name = "02 Mountaineers (Basic)"
C_03 = { name = "03 Marine (Basic)"
D_04 = { name = "04 Paratrooper (Basic)"

E_05 = { name = "05 Cavalry (Basic)"
F_06 = { name = "06 Motorized (Basic)"
G_07 = { name = "07 Mechanized (Basic)"

H_08 = { name = "08 Armored (Basic)"

And this causes this such a random order right in the game, which I don't understand:

Mechanized
Paratrooper
Cavalry
Mountaineer
Infantry
Motorized
Armored
Marine

XD