Hi there, I have a routine which sorts a column on a ListView, but it only sorts the values in alphabetical order.

Code:
Public Sub SortListView(ByVal lvw As MSComctlLib.ListView, _
     ByVal colHdr As MSComctlLib.ColumnHeader)
'--set the sortkey to the column header's index - 1
lvw.SortKey = colHdr.Index - 1
lvw.Sorted = True

'--toggle the sort order between ascending & descending
lvw.SortOrder = 1 Xor lvw.SortOrder
End Sub
Could you please tell me how would I make it work with columns containing numbers (and not sorting them as "string")?

Thanks in advance.