The
-sort
option determines the order in which the colors are listed in the output.
frequency
means to list them in order of how pixels in the input image have the color,
with the most represented colors first.
rgb
means to sort them first by the intensity of the red component of the color,
the of the green, then of the blue, with the least intense first.
The default is
frequency.