Thanks @Tut
I know that
But the mistake that happens is that when I chose the sort according to the reference, the sort appears wrongly, as I attached to this with pictures
for example: The sort appears
1
10
100
101
102
etc
And the right thing should be
1
2
3
4
etc