lsearch plus, add cmppare function