But, that will reference the Users class, and the values to be compared are its elements, which are actually values of the User class????
Anyway, using $this does not work. And I cannot figure out just how to reference the target objects.
EDIT:
I just added a var_dump() for the first parm in the compare routine (using $this in the usort call as suggested) and do indeed seem to be getting each User object being passed. After a bit more 'carefull' checking, I found a typo in the compare routine (those "i" and "l" look the same to this old fart!!).
Anyway, I got it working as expected.
Thanks a great deal for your assistance.
Martyn