ObjectEditor : preserve the comparator state when changing selection