Eng 6695 partial agg for ordered subquery

I'm confused. Why can't we use the scanTableAlias as a key to the m_tableAliasMap to find the entry we care about? Why are we scanning values()?