Terminator wrote:Anyone got an idea howto solve this ?
Yes; use a numeric type to store numbers. There's no excuse for it to ever have been a varchar in the first place.
You might be able to order them numerically using the CAST() function in the order by clause, but I wouldn't guarantee that would work given the extra (and unnecessary) punctuation you've added to the values.