Below, I have a brute-force solver to find the order to solve the puzzle.

Input the numbers clockwise from the top (The positions):

For those interested, this problem is finding a directed Hamiltonian path. Nathaniel Johnston did a nice write-up on about the problem.