During amphibious landings, how were soldiers organized on Landing Crafts?

by titans8ravens

This question mainly just applies to WW2 and Korea, as I believe those are the last times the US has conducted any large scale amphibious landings.

But on these crafts, were the soldiers just stuffed in without regard to rank or job within the unit. For example, were the officers put at the front of the craft to effectively lead them into battle, or were they put in the back for maximum safety. Were the lowest grunts at the front of the boat?

Or at the end of the day, was it just a random alignment?

Please let me know!

Froot_of_the_loom