The coach positioning seems to be exactly in the reverse direction unless there is a loco reversal happening at Secunderabad.
I boarded this train 12794 last week at Lingampalli station, HA1 coach was in today's loco side and not in the rear side.
The same goes with 12793. At Tirupathi AC coaches are towards the rear end and not near the loco.