Brute forced. Problem space wasn't very large.

10 had to be on the outer ring, leaving 9! permutations. I could've went further and ignored rotation, but at that point, the difference was negligible.