1. 数字 *1 / +0

select * from table where 1 order by id*1 desc; 
select * from table where 1 order by id+0 desc;

2. 自定义 FIND_IN_SET

按照指定的元素顺序进行排序。

SELECT FIND_IN_SET('1','1,2,3,4');

3. 转换函数 CAST CONVERT

CAST(value as type);

CONVERT(value, type);

 注:

   这里的type可以为:
		BINARY      二进制字符
		CHAR        字符
		DATE,DATETIME,TIME,
		DECIMAL     带精度的数字
		SIGNED      有符号的整数值
		UNSIGNED    无符号的整数值

 sql:

   select * from orders order by CONVERT(mark,SIGNED)  desc

   select * from orders order by CAST(mark as SIGNED)  desc