define Ord for Distance