I don't know if this applies to front loaders or not but the physics of it should be the same.
The drain hose has to be up higher than the water level is when it is full. that way the gravity will do the job, I won't bore anyone with the specifics but someone else may come along and clarify this.