I have a text field (Card_no) that sometimes contains numbers and it sometimes contains both numbers and letters. Example:
500-10-2
500-1-2
hec-1
hec-1-a
When the fields contains numbers they need to be sorted as
500-1-2
500-10-2 because 1 comes before 10. I'm having a problem figuring out a way to sort the data that won't throw an error when the field doesn't contain all numeric data.
Does anyone have any suggestions?
500-10-2
500-1-2
hec-1
hec-1-a
When the fields contains numbers they need to be sorted as
500-1-2
500-10-2 because 1 comes before 10. I'm having a problem figuring out a way to sort the data that won't throw an error when the field doesn't contain all numeric data.
Does anyone have any suggestions?