Can you place all the numbers in the correct order using the fewest rotations?

Join my new TopCoder Marathon Match here:
https://www.topcoder.com/challenges/30122730Please note that the discussion of the problem or its solutions is strictly forbidden while the competition is running (next 7 days).