当需要按照子查询结果的id顺序 查询 可以用以下查询
子查询:select id from b order by `order` desc
select * from a where id in(select id from b order by `order` desc) order by field (id,子查询id)