Im loading tabs for an accordion control at runtime. The number of tabs is determined by the role of the user. Each tab comes from a module so the load time is variable. As a result the list order changes every time the app is run.
Is there a practical way to sort the tabs as each new tab is loaded?
Well that was silly of me:
in the ‘ModuleEvent.Ready’ handler add this code:
resorting on every load will cause problems if you have lots of tabs.. but my list is pretty short..