Sequence matters: patterns in task-based clinical reasoning