Hi,
Please check below links
When there are multiple routes available to the same network with different route types, routers use this order of preference (from highest to lowest):
1. Intra-area routes. (LSA1 and 2)
2. Inter-area routes. (LSA3)
3. External Type-1 routes. (LSA5 Type-1)
4. External Type-2 routes. (LSA5 Type-2)
http://www.networkworld.com/article/2344467/cisco-subnet/how-does-ospf-select-the-best-route-on-cisco-routers-and-does-load-balancing-work-acros.html
https://supportforums.cisco.com/discussion/10223596/ospfany-preference-higher-cost-intra-area-route-over-inter-area-route
--Pls be kind to rate helpful posts--
Regards,
Akash