Sorting indicator disappears when form is added to tabpanel

We have a form in which we load data, after this we add the form to a tabpanel using the following piece of code

forms[_form].foundset.sort(_sort, true)
forms[_form].foundset.loadAllRecords()
forms[_my_form].elements[_my_tab].addTab(forms[_form])

Now sometimes the sorting indicator disappears, we cannot exactly determine when but it seems to happen with tables with little columns (less then 10). When we move the sort behind the addTab the sorting indicator is always shown correctly:

forms[_form].foundset.loadAllRecords()
forms[_my_form].elements[_my_tab].addTab(forms[_form])
forms[_form].foundset.sort(_sort)

Anyone an explanation for this behaviour or did anyone also experience this?

is this smart or web?

This is smart client. Servoy 5.2.17 and Servoy 7.4.1.

I have a similar setup somewhere, but I could not reproduce it.

Maybe you can narrow it down to a smaller reproducable solution, and file a case at: http://www.servoy.com/s