Group Leaders By Civilization
It always annoyed me that leaders of the same civ are scattered all around. They need to be grouped together based on their civ, I think.
Sort leaders in leader selection view by their civilizations, to make sure leaders of the same civilizations will be placed near each other.
Mod added civilizations and leaders will be supported too.
It’s a complicated sql, but I confirmed that it works.
All civ & leader combinations will first be sorted by civilization icon, and then leader, by alphabet order respectively. Note that these are sorted by data tags, not localization texts.
The vanilla multi-civ leaders Eleanor and Kublai are sorted below mono-civ leaders of their respective civ, regardless of alphabet order. For example. Eleanor of England is sorted beneath Victoria. This is the only exception of the rule.