In the given arrangement, the words have been arranged alphabetically in a sequence, altering the position of only one word in each step.
Input :- every and peer to an for
Step I :- an every and peer to for
Step II :- an and every peer to for
Step III :- an and every for peer to