Hello,

i am working with a QTableView under Qt4.5.1. I add headers and columns by programcode. After this i add my data in a loop from a stringfile.
I set tableview->setSortingEnabled(true)

Now my problem:

the original data are:

1. xxxx
2. xxxx
3. xxxx
4. xxxx
....
500. xxxx

after sort i had:

100: xxxx
101: xxxx
...
10: xxxx
110: xxxx
112: xxxx
...
11: xxxx
120: xxxx
etc.

How can i sort the columns right?