Returns -1, 0, or 1 depending on whether x is less than, equal to, or greater than y, according to the schema.
Assumes that x and y are valid examples of the schema.
int
-1, 0, or 1