Something like this will work in sql - you haven't told us what the tables are called
select order, status, eta from myTable order by status desc, eta asc