Good morning cbian
...and welcome to the forum!!
This is due to the way Excel sorts - it (quite rightly) recognises what is in your sheet as a text string, not a number. You can force it to sort numerically by using a helper column, and extracting the number from your string.
Put the code below into an empty module, and if your text string is in column A, starting at A1, then put this formula in (say) column B :
=GetNumber(A8)
and copy it down. Then sort on column B.
Function GetNumber(Sce As Range) As Double
NewNo = ""
For n = 1 To Len(Sce.Value)
c = Mid(Sce.Value, n, 1)
If c Like "#" Then
NewNo = NewNo & c
Else
End If
Next n
GetNumber = --NewNo
End Function
HTH
DominicB
Bookmarks