tableOrphanCodes function

Format the result of summariseOrphanCodes into a table