in操作排序

select * from test where id in(3,1,2) order by field(id,3,1,2);