def moveItemToNewPos(self, old, new):
        self.itemSelectionChanged.disconnect(self.panel.updateInspector)
        item = self.takeTopLevelItem(old)
        self.insertTopLevelItem(new,item)
        self.clearSelection()
        new_order = self.updatePosNumbers()
        self.setItemSelected(item, True)
        self.itemSelectionChanged.connect(self.panel.updateInspector)
        self.controller.reorderAliases(new_order)
moveItemToNewPos(old:int, new:int) -> None
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/mashups/alias_list.py/QAliasList.moveItemToNewPos