use the ordering here. It is safer than equals.