The Object Of The Game

To get the numbers in ascending numerical order from 1 to 9.

How is it done

The green arrows above the grid move the red rectangle across the numbers.
The curly Arrows rotate the numbers Clockwise and Anti-Clockwise.
Only the selected numbers can be rotated.