Even before sorting it I am trying to display a list, tell me what I am doing wrong.
Thanks
eg.
Cities: New York, Los Angeles, Chicago, Washington DC, Philadelphia.
pos = InStr(Cities, ",") ' defining first comma position, pos will return 8 in our example.
While pos <> 0
Cities = Mid (Cities, 1, pos-1) ' moving city name from position 1 to 7, means Value New York.
Response.Write(Cities &"<br>") ' Displaying first City name, which in our example is New York.
Cities = Mid (Cities, pos+1, Len(Cities) - pos) ' Moving 2nd city name from current position which is 8+1 to 59-8.
pos = InStr(Cities, ",") ' defining second position.
Wend