Ordered the code

Modified the random color adapter