Get ride of the dreaded my_compare function.

Give the function a somewhat better name so you at least get a clue as
to what its doing.