I am trying to group multiple rows and order it by the total values but im struggling to figure out whats going wrong.
Name Total ======= ======= ASOS
Try this:
SELECT * FROM tablename ORDER BY Name, char_length(CAST(Total As varchar(max))) DESC, Total DESC