Press "a" to randomize the blocks, press "s" to reverse-sort the blocks, press "d" to sort the blocks. Right now, pressing "d" doesn't do anything. The sorting part is what you have to fill in, so that the blocks go from smallest to largest, left-to-right.