don't sort default entry, mask off count in getter
sort again after modifying an empty palette entry