Further modification of colour sorting logic before pixel assignment.
(The Hue of the starting colour is now pseudo-random)