sort two wxlistctrl

i have created a notebook with two tabs and each tab contains one wxlistctr and after following the instructions of this link http://www.blog.pythonlibrary.org/2011/01/04/wxpython-wx-listctrl-tips-and-tricks/ i managed to make my fist list_ctrl to be editable, to sort elements by column and to keep track the row after the sorting but i want to achieve the same with my second list_ctrl2 i have created. The second is editable but the sorting is not working because i am missing somethin but i do not know what.

tab1_data is the dictionary for the first tab
tab2_data is the dictionary for the second tab
for the fist which is working i have this

        self.itemDataMap = tab1_data

how i am going to make it work with the second wxlistctrl

in the file is my code and i want in the tab user chat when the column is clicked to sort the data like in the other tab

test.py (9.83 KB)