title: QTableWidget original index sorting
body: <p>I am using QTableWidget and when the user clicks on a particular row, I use that index to perform some operation. I have also enabled sorting using setSortEnable, so when I sort it by clicking on a header, all row index change but I want previous index so what should I do?</p>