>>27
I was ging to finsh it and look for repetitions later, :)
The blue tiles being sorted as they are is intentional because of the corners they can only be sorted like this.
The main problem I had was with turning the tiles. And this is my first time writing a program that uses something that is supposed to be graphical.
Thank you so much for the link, and the rendering tip I will certainly look into that :)