rank vacation order by status