Generalization of metric that can induce ordering I was wondering if there is some generalization of the concept metric to take  positive and negative and zero values, such that it can induce an order on the metric space? If there already exists such a concept, what is its name?
For example on $\forall x,y \in \mathbb R$, we can use difference $x-y$ as such generalization of metric.
Thanks and regards!

You will have to lose some of the other axioms of a metric space as well since the requirement that $d(x,y)\ge 0$ in a metric space is actually a consequence of the other axioms: $0=d(x,x)\le d(x,y)+d(y,x)=2\cdot d(x,y)$, thus $d(x,y)\ge 0$. This proof uses the requirements that $d(x,x)=0$, the triangle inequality, and symmetry. 
There are notions of generalizations of metric spaces that weaken these axioms. I think the one closest to what you might be thinking about is partial metric spaces (where $d(x,x)=0$ is dropped). 
