I think you solved it in a more complex way, all you should need is to (ROT 13) fraq n cynlre gb gur cnfg, abg creznaragyl fjnccvat vg jvgu n obk (ROT 13 end).
Ah yes that would work, then I think your re-ordering would help