New SortPaletteNode wraps palette.sort_by_hue() and sort_by_brightness() with deepcopy to avoid mutating the original palette. Specs cover hue sorting, brightness sorting (perceptual luminosity), edge cases (single color, achromatic colors).