def METHOD_NAME(self, child1, child2):
    i1 = self.__childItems.index(child1)
    i2 = self.__childItems.index(child2)
    self.__childItems[i1], self.__childItems[i2] = self.__childItems[i2], self.__childItems[i1]