GTNPORTAL-3322 make the comparator in UserPortalImpl to impose total
ordering as as required by the Comparator interface