Sonic Hero Puzzle

Controls:
Up arrow key reorders the blocks as they fall.
Right and Left arrow key moves the block left and right.
Down arrow key accelerates the rate that the block falls.