Sometimes it is described as a state of disorder and sometimes it is called the inavalability of the thermal of energy of the system to do mechanical work.
So
How exactly is entropy defined?
Also, how does it explain why time flows in one direction.