MZ How to change the position of the leader to the middle?

Hi, is there a way to set the leader in a different position in battle?
I want to have the leader start in the middle instead of at the top.

For example if there are a total of 3 Hero's, I want the leader in the center/middle position.
$gameParty.swap(a, b);

a - position of first target (0 - leader)
b - position of second target

Original thread: https://forums.rpgmakerweb.com/threads/how-to-change-the-position-of-the-leader-to-the-middle.140293/