def GetListCtrl(self):
    return self


class MainWindow(wx.Frame):

    def __init__(self, *args, **kwargs):
        wx.Frame.__init__(self, *args, **kwargs)
self.list = MyList(self, 3)
self.list.InsertColumn(0, 'A')
self.list.InsertColumn(1, 'B')
self.list.InsertColumn(2, 'C')
Sort items in UltimateListCtrl