A supervisor assigns tasks by this priority rule: safety tasks first, then deadline-driven tasks, then routine tasks; within each category, most complex tasks are assigned first.
Task A is routine and complex, Task B is safety-related and simple, Task C is deadline-driven and complex, Task D is safety-related and complex.
What is the correct assignment order?