I have a listview I want to sort via column click. Problem is, I want it based on content. I am using this right now:
.SortKey = ColumnHeader.Index - 1
.SortOrder = IIf(.SortOrder = lvwAscending, lvwDescending, lvwAscending)
.Sorted = True
Which works fine for text, but horribly for numbers.
How do I modify this so that it will sort numbers as numbers instead of a string?