Make PS comparable and have equals make use of the compare methods.