Add Ord implementation.

This is needed for Orderable to compile.
However comparison operators are not usable. Use the ClOrd trait methods instead.