Hi

I've a QTableWidget TabelaLista, and I set a sorting Enable by:
Qt Code:
  1. TableLista->setSortingEnabled(false);
To copy to clipboard, switch view to plain text mode 

Now, in one of columns i've a strings like:

1/01/2000
2/01/2000
3/02/3000
11/03/2000
etc...
now, I would like to sort only by first part like int (ftom char 0 to char /). Now QT sorting like a string:

1/01
11/01
2/01
3/02
I'ld like somthing like:
1/01
2/01
3/02
11/01
how do this? Thanks