Gateway custom config panels order?

In a module gateway Hook, I’ve created some sub panel for the gateway.

public static final ConfigCategory CONFIG_CATEGORY = new ConfigCategory("MY MODULE", 
"MyModule.nav.header");

@Override
public List<? extends IConfigTab> getConfigPanels() {
	return Arrays.asList(MENU1,MENU2,MENU3);
}

On the gateway, the panel are not ordered as in the list provided by getConfigPanels, but in alphabetic order
How can we control those order ?

You can’t, unfortunately. There’s a hardcoded comparator internally.

1 Like