Returns a comparator that sorts encodings based on the number of colors that they support, from the most to the least number of colors.
the first encoding
the second encoding
a negative number if first supports more colors than second. 0 if the encodings support the same number of colors. A positive number if first supports fewer colors than second.
first
second
0
Returns a comparator that sorts encodings based on the number of colors that they support, from the most to the least number of colors.