For a man, the text gives the sequence front-to-back, back-to-front, then front-to-back when the stated physical condition applies.

Istibra and Istinja: Rulings and Method