ObjectEditor: toggle the comparator of the list

TODO: we want to recursively apply the comparator