If the external world does work on the system, the energy of the system increases , decreases or remains the same? I think it increases. Am I correct?

The system increases. Yes, you are correct.