save comparison function object as member