Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Path selection on OSPF was different earlier which was O>> O IA >> E1 >> E2 >>N1 >> N2 which has been replaced by the below path preference.
O>> O IA >> E1 >> N1 >>E2 >> N2
OSPF will always look at the path type and then metric.
To answer your ...