Hai

I have a QListView where i have 2 headers by ID and Name.Id is handling only numeric items where as Name is handling alphanumeric.I have written a logic to sort the alphanumeric (using sorting) where as the same logic is effecting the numeric ones when both the single digits and multiple digits are there.The click on the ID is sorting the numbers this way(10,11,12,13,14,2,3,4,5 etc on one click and on other click this way :5,4,3,2,14,13,12,11,10).just like the strings the numeric are also sorted because here i have converetd the numerics to strings to map the correcssponding items because both the ID and Name are interrelated.

could anyone help me in sorting the Numerics on header click.