Urgency and importance give you two dimensions. The third is leverage: whether doing this task permanently simplifies or unblocks something else. A task can be neither urgent nor immediately important but still high leverage. Fixing a broken process that generates overhead every week, writing documentation that stops three recurring questions, these compound over time.
This is what Building a boring task list is actually about: the tasks that feel optional are often the highest leverage ones.