The method of janaazah salaat for multiple mayyits

Question: If there is more than one mayyit, how does one perform janaazah salaat for them?

Answer: All the mayyits will be placed in a line that all the feet are in one line and the heads are in one line. So when the imam stands, he stands inline with their chests.