Assalam alaikum !
The straightening of prayer rows is emphasised much in the Sunnah. The link and the video will be helpful inshaAllah.
Please note that joining of feet to feet in congregational prayer is not a Sunnah. I hope the following explanation will be useful inshaAllah.
2. A scholarly explanation follows in the video below.