reorder_colors function

Reorder colors in a recolorize object