Sorry. I mean… is it correct to convert to VARCHAR? I have done some research and it seems there is no DATE only type in MSSQL. Only a DATETIME. If there was a date I could have converted it to DATE. This would allow me to use ORDER BY and get a correct date sort and not as is the case with VARCHAR an alphabetical search.
if you have a DATETIME column, and you want it to be in date sequence, just sort it (using ORDER BY)
if you have a DATETIME column, and you want it to be in time sequence (e.g. if you want all times sorted together no matter which day), then ORDER BY CONVERT(VARCHAR,last_updated,8)
this works because style 8 is hh:mm:ss, i.e. from largest unit to smallest