Jockey for position
To manoeuvre in such a way as to gain an advantage, a phrase borrowed from horseracing and used in this figurative sense since the late 18th/early 19th century.