Sort entity displays so calculated members come before explicit members, then apply the existing logic that groups are sorted before people.