Working with Color > Modifying color palettes > Sorting the palette
Sorting the paletteTo make it easier to locate a color, you can sort colors in the palette by hue.
To sort colors in the palette:
In the Swatches panel, choose Sort by Color from the pop-up menu in the upper right corner.