Support lexical ordering for macro types and rects …
This allows using Euclid types in BTree collections.