Analysis of information sources in references of the Wikipedia article "Master Chief Petty Officer of the Navy" in English language version.
Senior Enlisted Service Representatives (SMA, SGMMC, MCPON, CMSAF, etc.) are typically afforded precedence equal to that of a three-star officer and are placed somewhere midway between the senior and junior general/flag officer present. This is not an exact rule, but one which can be used to arrive at the proper place for most situations.