Hi to all!

I want to sort some elements in a QTableWidget.... the problem is that I do not know how to do it with a colum with numbers in a correct way. Now the result is something like this:

1
10
11
12
2
20
21
3
4
5
6

and I would like to have:

1
2
3
4
5
6
10
11
12
20
21


I hope that you can understand what I mean Thanks for your help!!!