update sort for inapplicable value.