sorting stays open if value changed