The semi-squares can be ordered according to the height of their hypotenuse at a given x-position.