uses stl utility <=,>,!=,>=