Small bug fix


Fix some small bugs:

- The first hat in the fractal had the wrong sorting order.