std::cout outputting in wrong order

Printable View