show ip route will list the best routes installed in the routing table.
The first route to be chosen is the most specific prefix, eg
10.0.0.0 /24 beats 10.0.0.0 /16
The next choice is the Administrative distance. Lower is better.
A static route has a administrative distance of 1
While OSPF has an admistrative distance of 110.
Therefor the static route will be selecte
The third choice is the metric, calculated by the speed of the link.
This can be manually over-ridden, if required.
Lower cost is selected.
And then there is big screw you all and your order of operation: Policy based routing.
Using a route-map you can over-ride all of the above order of operations.