select * from tab
order by case when col='0' then 0 else 1 end