# Gateway custom config panels order?

**URL:** <https://forum.inductiveautomation.com/t/gateway-custom-config-panels-order/47103>\
**Category:** Module Development\
**Tags:** sdk\
**Created:** [May 25, 2021, 7:35pm UTC](https://forum.inductiveautomation.com/t/gateway-custom-config-panels-order/47103 "2021-05-25T19:35:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [May 25, 2021, 7:35pm UTC](https://forum.inductiveautomation.com/t/gateway-custom-config-panels-order/47103/1 "2021-05-25T19:35:17Z")

</div>

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

```auto
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 ?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [May 25, 2021, 8:05pm UTC](https://forum.inductiveautomation.com/t/gateway-custom-config-panels-order/47103/2 "2021-05-25T20:05:58Z")

</div>

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