The following order mapping definition for a UDT named rectangle uses the UDF named compare_rect().
CREATE ORDERING FOR rectangle ORDER FULL BY MAP WITH FUNCTION compare_rect();
The following order mapping definition for a UDT named rectangle uses the UDF named compare_rect().
CREATE ORDERING FOR rectangle ORDER FULL BY MAP WITH FUNCTION compare_rect();