There is not really an order needed for a library unless one library needs content from the other one. (Includes)
Endl;means to give a new line.
cout << "test";
cout << "test";
would print:
testtest
cout << "test" << endl;
cout << "test":
would print:
test
test