把varchar转换为int 然后进行排序

select * from yourtable order by cast(yourcol as int);

原文地址:https://www.cnblogs.com/chang1/p/7509031.html