The color selections in the Palette window can be presented in their actual palette order, or sorted by hue, lightness or saturation.
To change the order that colors are presented
Click the arrow on the top right side of the palette window.
Select Sort.
Select the sort order you prefer.