Update ports.cpp

Added comment for required initialization order