sort again after modifying an empty palette entry