Set up sorting by status, and first rule of sorting by importance.
Add second rule for importance-sorting.
Add third rule for importance sorting.