compared comparison functions