Hey avk,
... With a mnemonic: They point at the middle minus...
This is just a centripetal form, but there is also a centrifugal one:
Result := Ord(R.ID < L.ID) - Ord(R.ID > L.ID);
Hummm... Yeah, sorry, I'm a Left-to-Right person. Nothing against Right-to-Left'ies, for sure!!

And I love the
centrifugal,
centripetal mnemonics !!! While I'm not gonna swipe that from you, I'll put a pin on it for future reference

Cheers,
Gus